Package net.officefloor.frame.api.build
Interface ThreadDependencyMappingBuilder
- All Superinterfaces:
DependencyMappingBuilder
- All Known Implementing Classes:
DependencyMappingBuilderImpl
Provides additional means to obtain the ManagedObject from
ThreadLocal.
This is typically used for integrating third party libraries that expect to
obtain objects from ThreadLocal state.
- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescription<T> OptionalThreadLocal<T>Obtains theOptionalThreadLocalfor theManagedObject.Methods inherited from interface net.officefloor.frame.api.build.DependencyMappingBuilder
mapDependency, mapDependency, mapGovernance, preLoadAdminister
-
Method Details
-
getOptionalThreadLocal
Obtains theOptionalThreadLocalfor theManagedObject.- Type Parameters:
T- Type of object.- Returns:
OptionalThreadLocalfor theManagedObject.
-