Class Instance<I>

java.lang.Object
org.microbean.scopelet.Instance<I>
Type Parameters:
I - the type of the instance
All Implemented Interfaces:
AutoCloseable, Supplier<I>

public final class Instance<I> extends Object implements AutoCloseable, Supplier<I>
An AutoCloseable pairing of a contextual instance that can be destroyed with a Instance.Destructor that can destroy it, an AutoCloseable that can release its dependent objects when needed, and a Request that caused it to be created.
Author:
Laird Nelson
See Also: