Class SupplierThreadLocalTypeImpl.SupplierThreadLocalImpl<T>
java.lang.Object
net.officefloor.compile.impl.supplier.SupplierThreadLocalTypeImpl.SupplierThreadLocalImpl<T>
- All Implemented Interfaces:
Supplier<T>,SupplierThreadLocal<T>
- Enclosing class:
- SupplierThreadLocalTypeImpl<T>
public static class SupplierThreadLocalTypeImpl.SupplierThreadLocalImpl<T>
extends Object
implements SupplierThreadLocal<T>
SupplierThreadLocal implementation.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget()Obtains the object for the respectiveManagedObjectthis represents.
-
Constructor Details
-
SupplierThreadLocalImpl
public SupplierThreadLocalImpl()
-
-
Method Details
-
get
Description copied from interface:SupplierThreadLocalObtains the object for the respective
ManagedObjectthis represents.This is only to be used within the
SuppliedManagedObjectSourceManagedObjectimplementations. Within this scope, the object will always be returned. Used outside this scope, the result is unpredictable.- Specified by:
getin interfaceSupplier<T>- Specified by:
getin interfaceSupplierThreadLocal<T>- Returns:
- Object from the
ManagedObject.
-