Index
All Classes and Interfaces|All Packages|Serialized Form
A
- active() - Method in class org.microbean.scopelet.Scopelet
-
Returns
true
if and only if thisScopelet
is active at the moment of the call.
B
C
- close() - Method in class org.microbean.scopelet.Instance
- close() - Method in class org.microbean.scopelet.MapBackedScopelet
- close() - Method in class org.microbean.scopelet.Scopelet
- closed() - Method in class org.microbean.scopelet.Instance
- closed() - Method in class org.microbean.scopelet.Scopelet
-
Returns
true
if and only if at the moment of invocation thisScopelet
is (irrevocably) closed (and therefore also not active). - containsId(Object) - Method in class org.microbean.scopelet.Scopelet
- create(Request<S>) - Method in class org.microbean.scopelet.Scopelet
-
Creates this
Scopelet
by simply returning it. - CreationCycleDetectedException - Exception Class in org.microbean.scopelet
-
A
ScopeletException
indicating that during contextual instance creation a cycle was detected. - CreationCycleDetectedException() - Constructor for exception class org.microbean.scopelet.CreationCycleDetectedException
-
Creates a new
CreationCycleDetectedException
.
D
- describeConstable() - Method in class org.microbean.scopelet.NoneScopelet
- describeConstable() - Method in class org.microbean.scopelet.SingletonScopelet
- destroy(I, Request<I>) - Method in interface org.microbean.scopelet.Instance.Destructor
-
Destroys the supplied contextual instance.
- destroys() - Method in class org.microbean.scopelet.Scopelet
E
- equals(Object) - Method in class org.microbean.scopelet.Instance
- equals(Object) - Method in class org.microbean.scopelet.Scopelet
G
- get() - Method in class org.microbean.scopelet.Instance
-
Returns the contextual instance this
Instance
holds, which may benull
. - get(Object) - Method in class org.microbean.scopelet.Scopelet
- governedBy(NamedAttributeMap<?>) - Method in class org.microbean.scopelet.Scopelet
-
Returns
true
if thisScopelet
is governed by the scope represented by the suppliedNamedAttributeMap
. - governingScopeId() - Method in class org.microbean.scopelet.Scopelet
-
Returns the
NamedAttributeMap
representing the identifier of the scope to which thisScopelet
belongs.
H
- hashCode() - Method in class org.microbean.scopelet.Instance
- hashCode() - Method in class org.microbean.scopelet.Scopelet
-
Returns a hashcode for this
Scopelet
.
I
- id() - Method in class org.microbean.scopelet.NoneScopelet
- id() - Method in class org.microbean.scopelet.Scopelet
- id() - Method in class org.microbean.scopelet.SingletonScopelet
- InactiveScopeletException - Exception Class in org.microbean.scopelet
- InactiveScopeletException() - Constructor for exception class org.microbean.scopelet.InactiveScopeletException
-
Creates a new
InactiveScopeletException
. - instance(Object, Factory<I>, Request<I>) - Method in class org.microbean.scopelet.MapBackedScopelet
- instance(Object, Factory<I>, Request<I>) - Method in class org.microbean.scopelet.NoneScopelet
- instance(Object, Factory<I>, Request<I>) - Method in class org.microbean.scopelet.Scopelet
- instance(Request<I>) - Method in class org.microbean.scopelet.Scopelet
-
Checks to see if this
Scopelet
is active and then eturns a contextual instance identified by the identifying information present within the suppliedRequest
, creating the instance and associating it with the identifying information present within the suppliedRequest
if necessary. - Instance<I> - Class in org.microbean.scopelet
-
An
AutoCloseable
pairing of a contextual instance that can be destroyed with aInstance.Destructor
that can destroy it, anAutoCloseable
that can release its dependent objects when needed, and aRequest
that caused it to be created. - Instance(I, Instance.Destructor<I>, Request<I>) - Constructor for class org.microbean.scopelet.Instance
-
Creates a new
Instance
. - Instance.Destructor<I> - Interface in org.microbean.scopelet
-
An interface whose implementations can destroy contextual instances.
M
- MapBackedScopelet<M> - Class in org.microbean.scopelet
-
A thread-safe, partial
Scopelet
implementation backed byConcurrentMap
machinery. - MapBackedScopelet(NamedAttributeMap<?>) - Constructor for class org.microbean.scopelet.MapBackedScopelet
-
Creates a new
MapBackedScopelet
.
N
- NoneScopelet - Class in org.microbean.scopelet
-
A
Scopelet
implementation that does not cache objects at all. - NoneScopelet(Domain) - Constructor for class org.microbean.scopelet.NoneScopelet
-
Creates a new
NoneScopelet
.
O
- org.microbean.scopelet - module org.microbean.scopelet
-
Provides packages related to implementing scopelets.
- org.microbean.scopelet - package org.microbean.scopelet
-
Provides classes and interfaces implementing scopelets, lifecycle managers for beans.
R
- remove(Object) - Method in class org.microbean.scopelet.MapBackedScopelet
- remove(Object) - Method in class org.microbean.scopelet.Scopelet
S
- scopeId() - Method in class org.microbean.scopelet.Scopelet
-
Returns the
NamedAttributeMap
that identifies thisScopelet
's affiliated scope. - Scopelet<S> - Class in org.microbean.scopelet
-
A manager of object lifespans identified by a scope.
- Scopelet(NamedAttributeMap<?>) - Constructor for class org.microbean.scopelet.Scopelet
-
Creates a new
Scopelet
. - ScopeletException - Exception Class in org.microbean.scopelet
-
A
RuntimeException
indicating a problem with aScopelet
. - ScopeletException() - Constructor for exception class org.microbean.scopelet.ScopeletException
-
Creates a new
ScopeletException
. - ScopeletException(String) - Constructor for exception class org.microbean.scopelet.ScopeletException
-
Creates a new
ScopeletException
. - ScopeletException(String, Throwable) - Constructor for exception class org.microbean.scopelet.ScopeletException
-
Creates a new
ScopeletException
. - ScopeletException(Throwable) - Constructor for exception class org.microbean.scopelet.ScopeletException
-
Creates a new
ScopeletException
. - singleton() - Method in class org.microbean.scopelet.Scopelet
-
Returns this
Scopelet
if it has been created via theScopelet.create(Request)
method, ornull
if that method has not yet been invoked. - SingletonScopelet - Class in org.microbean.scopelet
-
A
MapBackedScopelet
implementation that caches singletons. - SingletonScopelet(Domain) - Constructor for class org.microbean.scopelet.SingletonScopelet
-
Creates a new
SingletonScopelet
.
T
- TooManyActiveScopeletsException - Exception Class in org.microbean.scopelet
-
A
ScopeletException
indicating that there were too many activeScopelet
s when zero or one was expected. - TooManyActiveScopeletsException() - Constructor for exception class org.microbean.scopelet.TooManyActiveScopeletsException
-
Creates a new
TooManyActiveScopeletsException
. - TooManyActiveScopeletsException(String) - Constructor for exception class org.microbean.scopelet.TooManyActiveScopeletsException
-
Creates a new
TooManyActiveScopeletsException
. - TooManyActiveScopeletsException(String, Throwable) - Constructor for exception class org.microbean.scopelet.TooManyActiveScopeletsException
-
Creates a new
TooManyActiveScopeletsException
. - TooManyActiveScopeletsException(Throwable) - Constructor for exception class org.microbean.scopelet.TooManyActiveScopeletsException
-
Creates a new
TooManyActiveScopeletsException
. - toString() - Method in class org.microbean.scopelet.Instance
All Classes and Interfaces|All Packages|Serialized Form