Index

A C D E F G H 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.
APPLICATION_ID - Static variable in class org.microbean.scopelet.Scopelet
An Attributes identifying the (well-known and normal) application scope.

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
Irrevocably closes this Scopelet, and, by doing so, notionally makes it irrevocably closed and inactive.
closed() - Method in class org.microbean.scopelet.Instance
Returns true if and only if this Instance has been closed.
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<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

D

describeConstable() - Method in class org.microbean.scopelet.NoneScopelet
 
describeConstable() - Method in class org.microbean.scopelet.SingletonScopelet
 
destroy(I, Destruction) - Method in interface org.microbean.scopelet.Instance.Destructor
Destroys the supplied contextual instance.
destroys() - Method in class org.microbean.scopelet.Scopelet
Returns true when invoked to indicate that Scopelet implementations destroy what they create.

E

equals(Object) - Method in class org.microbean.scopelet.Instance
 

F

findScopeId(Collection<? extends Attributes>) - Method in class org.microbean.scopelet.ScopedInstances
Finds and returns the nearest scope identifier in the forest represented by the supplied Attributes.

G

get() - Method in class org.microbean.scopelet.Instance
Returns the contextual instance this Instance holds, which may be null.

H

hashCode() - Method in class org.microbean.scopelet.Instance
 

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<I>, Creation<I>) - Method in class org.microbean.scopelet.MapBackedScopelet
 
instance(Object, Factory<I>, Creation<I>) - Method in class org.microbean.scopelet.NoneScopelet
 
instance(Object, Factory<I>, Creation<I>) - 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
Instance<I> - Class in org.microbean.scopelet
An AutoCloseable pairing of a contextual instance that can be destroyed with a Instance.Destructor that can destroy it and a Destruction view of the Creation that caused it to be created.
Instance(I, Instance.Destructor<I>, Destruction) - 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.
isScopeId(Attributes) - Method in class org.microbean.scopelet.ScopedInstances
Returns true if and only if the supplied Attributes is deemed to be an identifier of a scope.

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_ID - Static variable in class org.microbean.scopelet.Scopelet
An Attributes identifying the (well-known) none pseudo-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.

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<? extends Attributes>) - 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.

R

reducible(Domain, Selectable<AttributedType, Bean<?>>) - Static method in class org.microbean.scopelet.ScopedInstances
Returns a Reducible suitable for use with Scopelets.
reducible(Domain, Selectable<AttributedType, Bean<?>>, Reducer<AttributedType, Bean<?>>) - Static method in class org.microbean.scopelet.ScopedInstances
Returns a Reducible suitable for use with Scopelets.
reducible(Domain, Selectable<AttributedType, Bean<?>>, Reducer<AttributedType, Bean<?>>, BiFunction<? super List<? extends Bean<?>>, ? super AttributedType, ? extends Bean<?>>) - Static method in class org.microbean.scopelet.ScopedInstances
Returns a Reducible suitable for use with Scopelets.
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.

S

SCOPE - Static variable in class org.microbean.scopelet.Scopelet
An Attributes identifying the scope designator.
ScopedInstances - Class in org.microbean.scopelet
An Instances implementation that is based on scopes.
ScopedInstances(Domain) - 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.
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_ID - Static variable in class org.microbean.scopelet.Scopelet
An Attributes identifying the (well-known) 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<I>, Creation<I>) - 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
toString() - Method in class org.microbean.scopelet.Instance
 
A C D E F G H I M N O P R S T 
All Classes and Interfaces|All Packages|Serialized Form