Class SingletonScopelet
java.lang.Object
org.microbean.scopelet.Scopelet<SingletonScopelet>
org.microbean.scopelet.MapBackedScopelet<SingletonScopelet>
org.microbean.scopelet.SingletonScopelet
- All Implemented Interfaces:
AutoCloseable
,Constable
,Aggregate
,Factory<SingletonScopelet>
,ScopeMember
A
MapBackedScopelet
implementation that caches singletons.- Author:
- Laird Nelson
-
Field Summary
Fields inherited from interface org.microbean.bean.Aggregate
EMPTY_ASSIGNMENTS, EMPTY_DEPENDENCIES
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.microbean.scopelet.MapBackedScopelet
close, instance, remove
Methods inherited from class org.microbean.scopelet.Scopelet
active, bean, closed, containsId, create, destroys, equals, get, governedBy, governingScopeId, hashCode, instance, scopeId, singleton
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.microbean.bean.Aggregate
assign, dependencies
-
Constructor Details
-
SingletonScopelet
Creates a newSingletonScopelet
.- Parameters:
domain
- aDomain
; must not benull
- Throws:
NullPointerException
- ifdomain
isnull
-
-
Method Details
-
id
-
describeConstable
- Specified by:
describeConstable
in interfaceConstable
- Specified by:
describeConstable
in interfaceFactory<SingletonScopelet>
-