Class ThreadLocalAwareContextImpl
- java.lang.Object
-
- net.officefloor.frame.impl.execute.team.ThreadLocalAwareContextImpl
-
- All Implemented Interfaces:
ThreadLocalAwareContext
public class ThreadLocalAwareContextImpl extends java.lang.Object implements ThreadLocalAwareContext
ThreadLocalAwareContext
implementation.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description ThreadLocalAwareContextImpl(ThreadLocalAwareExecutor executor)
Instantiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(Job job)
Executes theJob
within the invokingThread
of theProcessState
to respect theThreadLocal
instances.
-
-
-
Constructor Detail
-
ThreadLocalAwareContextImpl
public ThreadLocalAwareContextImpl(ThreadLocalAwareExecutor executor)
Instantiate.- Parameters:
executor
-ThreadLocalAwareExecutor
.
-
-
Method Detail
-
execute
public void execute(Job job)
Description copied from interface:ThreadLocalAwareContext
Executes theJob
within the invokingThread
of theProcessState
to respect theThreadLocal
instances.- Specified by:
execute
in interfaceThreadLocalAwareContext
- Parameters:
job
-Job
to be executed.
-
-