Class OptionalThreadLocalLinker
- java.lang.Object
-
- net.officefloor.compile.impl.structure.OptionalThreadLocalLinker
-
public class OptionalThreadLocalLinker extends java.lang.Object
Links theOptionalThreadLocal
to theOptionalThreadLocalReceiver
instances.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description OptionalThreadLocalLinker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addOptionalThreadLocalReceiver(OptionalThreadLocalReceiver optionalThreadLocalReceiver)
Adds anOptionalThreadLocalReceiver
.void
setThreadDependencyMappingBuilder(ThreadDependencyMappingBuilder dependencyMapper)
Specifies theOptionalThreadLocal
.
-
-
-
Method Detail
-
setThreadDependencyMappingBuilder
public void setThreadDependencyMappingBuilder(ThreadDependencyMappingBuilder dependencyMapper)
Specifies theOptionalThreadLocal
.- Parameters:
dependencyMapper
-ThreadDependencyMappingBuilder
to obtain theOptionalThreadLocal
if required.
-
addOptionalThreadLocalReceiver
public void addOptionalThreadLocalReceiver(OptionalThreadLocalReceiver optionalThreadLocalReceiver)
Adds anOptionalThreadLocalReceiver
.- Parameters:
optionalThreadLocalReceiver
-OptionalThreadLocalReceiver
.
-
-