Class SupplierThreadLocalTypeImpl.SupplierThreadLocalImpl<T>
- java.lang.Object
-
- net.officefloor.compile.impl.supplier.SupplierThreadLocalTypeImpl.SupplierThreadLocalImpl<T>
-
- All Implemented Interfaces:
java.util.function.Supplier<T>,SupplierThreadLocal<T>
- Enclosing class:
- SupplierThreadLocalTypeImpl<T>
public static class SupplierThreadLocalTypeImpl.SupplierThreadLocalImpl<T> extends java.lang.Object implements SupplierThreadLocal<T>
SupplierThreadLocalimplementation.
-
-
Constructor Summary
Constructors Constructor Description SupplierThreadLocalImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tget()Obtains the object for the respectiveManagedObjectthis represents.
-
-
-
Method Detail
-
get
public T 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 interfacejava.util.function.Supplier<T>- Specified by:
getin interfaceSupplierThreadLocal<T>- Returns:
- Object from the
ManagedObject.
-
-