Index

A C D F I M N O P R S T 
All Classes and Interfaces|All Packages|Serialized Form

A

active() - Method in class org.microbean.scopelet.Scopelet
Returns true if and only if this Scopelet is active at the moment of the call.

C

close() - Method in class org.microbean.scopelet.MapBackedScopelet
 
close() - Method in class org.microbean.scopelet.Scopelet
Irrevocably closes this Scopelet, and, by doing so, notionally makes it irrevocably closed and inactive.
closed() - Method in class org.microbean.scopelet.Scopelet
Returns true if and only if at the moment of invocation this Scopelet is (irrevocably) closed (and therefore also not active).
create(Creation) - 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

D

describeConstable() - Method in class org.microbean.scopelet.NoneScopelet
 
describeConstable() - Method in class org.microbean.scopelet.SingletonScopelet
 
destroy(S, Destruction) - Method in class org.microbean.scopelet.Scopelet
 
destroys() - Method in class org.microbean.scopelet.Scopelet
Returns true when invoked to indicate that Scopelet implementations destroy what they create.

F

findScope(Collection) - Method in class org.microbean.scopelet.Scopes
Returns the first Attributes that is present in the supplied Collection of Attributes, and their meta-attributes, for which an invocation of the Scopes.scope(Attributes) method returns true, or null, if no such Attributes exists.
fireScopeletDestroyed(ReferencesSelector) - Method in class org.microbean.scopelet.Scopelet
Informs any interested observers that this Scopelet has been irrevocably destroyed.
fireScopeletDestroying(ReferencesSelector) - Method in class org.microbean.scopelet.Scopelet
Informs any interested observers that this Scopelet is about to be destroyed.
fireScopeletInitialized(ReferencesSelector) - Method in class org.microbean.scopelet.Scopelet
Informs any interested observers that this Scopelet has just been initialized.

I

InactiveScopeletException - Exception Class in org.microbean.scopelet
A ScopeletException indicating that a Scopelet was not active when it was supposed to be.
InactiveScopeletException() - Constructor for exception class org.microbean.scopelet.InactiveScopeletException
instance(Object, Factory, Creation) - Method in class org.microbean.scopelet.MapBackedScopelet
 
instance(Object, Factory, Creation) - Method in class org.microbean.scopelet.NoneScopelet
Checks to see if this Scopelet is active and then returns a contextual instance created by the supplied Factory.
instance(Object, Factory, Creation) - Method in class org.microbean.scopelet.Scopelet
Checks to see if this Scopelet is active and then returns a pre-existing or created-on-demand contextual instance suitable for the combination of identifier, Factory and Creation, or null

M

MapBackedScopelet<M> - Class in org.microbean.scopelet
A thread-safe, partial Scopelet implementation backed by ConcurrentMap machinery.
MapBackedScopelet() - Constructor for class org.microbean.scopelet.MapBackedScopelet
Creates a new MapBackedScopelet.

N

none() - Method in class org.microbean.scopelet.Scopes
Returns a non-null, determinate Attributes representing the identifier for the none scope.
NoneScopelet - Class in org.microbean.scopelet
A Scopelet implementation that does not cache objects at all.
NoneScopelet() - Constructor for class org.microbean.scopelet.NoneScopelet
Creates a new NoneScopelet.
normal() - Method in class org.microbean.scopelet.Scopes
Returns a non-null, determinate, immutable Map of size 1 that can be used with a scope to designate it as a normal scope.
normal(Attributes) - Method in class org.microbean.scopelet.Scopes
Returns true if the supplied Attributes has elements that might be used to indicate that it is a normal scope.

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.

P

primordial(Collection) - Method in class org.microbean.scopelet.ScopedInstances
Returns true if and only if the supplied Collection of Attributes is deemed to designate something as primordial.
proxiable(Id) - Method in class org.microbean.scopelet.ScopedInstances
Returns true if and only if the supplied Id is proxiable.
pseudo() - Method in class org.microbean.scopelet.Scopes
Returns a non-null, determinate, immutable Map of size 1 that can be used with a scope to designate it as a pseudo scope.

R

remove(Object) - Method in class org.microbean.scopelet.MapBackedScopelet
 
remove(Object) - Method in class org.microbean.scopelet.Scopelet
Checks to see if this Scopelet is active and then removes any contextual instance stored under the supplied id, returning true if and only if removal actually took place.
removes() - Method in class org.microbean.scopelet.MapBackedScopelet
 
removes() - Method in class org.microbean.scopelet.Scopelet
Returns true if and only if this Scopelet stores contextual instances, and hence is capable of removing them.

S

scope() - Method in class org.microbean.scopelet.Scopes
Returns the non-null, determinate Attributes that can be used to designate other Attributes as a scope.
scope(Attributes) - Method in class org.microbean.scopelet.Scopes
Returns true if and only if the supplied Attributes is a scope identifier.
ScopedInstances - Class in org.microbean.scopelet
An Instances implementation that is based on scopes.
ScopedInstances(Domain, Qualifiers, Scopes) - Constructor for class org.microbean.scopelet.ScopedInstances
Creates a new ScopedInstances.
Scopelet<S> - Class in org.microbean.scopelet
A manager of object lifespans on behalf of one or more notional scopes.
Scopelet() - Constructor for class org.microbean.scopelet.Scopelet
Creates a new Scopelet.
ScopeletException - Exception Class in org.microbean.scopelet
A RuntimeException indicating a problem with a Scopelet.
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.
Scopes - Class in org.microbean.scopelet
A utility class for working with scopes and their identifiers.
Scopes(Qualifiers) - Constructor for class org.microbean.scopelet.Scopes
Creates a new Scopes.
selectableOf(Domain, Selectable) - Static method in class org.microbean.scopelet.ScopedInstances
Returns a Selectable<AttributedType, Bean<?>> that properly considers the fact that a Scopelet may be active or inactive at any point for any reason.
singleton() - Method in class org.microbean.scopelet.Scopelet
Returns this Scopelet if it has been created via the Scopelet.create(Creation) method, or null if that method has not yet been invoked.
singleton() - Method in class org.microbean.scopelet.Scopes
Returns a non-null, determinate Attributes representing the identifier for the singleton pseudo-scope.
SingletonScopelet - Class in org.microbean.scopelet
A MapBackedScopelet implementation that caches singletons.
SingletonScopelet() - Constructor for class org.microbean.scopelet.SingletonScopelet
Creates a new SingletonScopelet.
supplier(Bean, Creation) - Method in class org.microbean.scopelet.ScopedInstances
 

T

TooManyActiveScopeletsException - Exception Class in org.microbean.scopelet
A ScopeletException indicating that there were too many active Scopelets when zero or one was expected.
TooManyActiveScopeletsException() - Constructor for exception class org.microbean.scopelet.TooManyActiveScopeletsException
TooManyActiveScopeletsException(String) - Constructor for exception class org.microbean.scopelet.TooManyActiveScopeletsException
TooManyActiveScopeletsException(String, Throwable) - Constructor for exception class org.microbean.scopelet.TooManyActiveScopeletsException
TooManyActiveScopeletsException(Throwable) - Constructor for exception class org.microbean.scopelet.TooManyActiveScopeletsException
A C D F I M N O P R S T 
All Classes and Interfaces|All Packages|Serialized Form