java.lang.Object
org.microbean.scopelet.Instance<I>
- Type Parameters:
I
- the type of the instance
- All Implemented Interfaces:
AutoCloseable
,Supplier<I>
An
AutoCloseable
pairing of an instance that can be destroyed with a Instance.Destructor
that can destroy it
and an AutoCloseable
that can release its dependent objects when needed.- Author:
- Laird Nelson
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionInstance
(I object, Instance.Destructor<I> destroyer, org.microbean.bean.Creation<I> creation, org.microbean.bean.ReferenceSelector referenceSelector) -
Method Summary
-
Constructor Details
-
Instance
public Instance(I object, Instance.Destructor<I> destroyer, org.microbean.bean.Creation<I> creation, org.microbean.bean.ReferenceSelector referenceSelector)
-
-
Method Details