Interface SupplierThreadLocal<T>

    • Method Detail

      • get

        T get()

        Obtains the object for the respective ManagedObject this represents.

        This is only to be used within the SuppliedManagedObjectSource ManagedObject implementations. Within this scope, the object will always be returned. Used outside this scope, the result is unpredictable.

        Specified by:
        get in interface java.util.function.Supplier<T>
        Returns:
        Object from the ManagedObject.