Index

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

C

ClientProxier - Interface in org.microbean.reference
A source of Proxy instances representing client proxies.
clientProxy(Id, Supplier<? extends R>) - Method in interface org.microbean.reference.ClientProxier
Returns a contextual reference which is also a Proxy, given a Supplier of contextual instances of the appropriate type.
clientProxy(Id, Supplier<? extends R>) - Method in class org.microbean.reference.ReflectiveClientProxier
 
ClientProxyInstantiationException - Exception Class in org.microbean.reference
A ReferenceException indicating that a client proxy class could not be instantiated.
ClientProxyInstantiationException() - Constructor for exception class org.microbean.reference.ClientProxyInstantiationException
ClientProxyInstantiationException(String) - Constructor for exception class org.microbean.reference.ClientProxyInstantiationException
ClientProxyInstantiationException(String, Throwable) - Constructor for exception class org.microbean.reference.ClientProxyInstantiationException
ClientProxyInstantiationException(Throwable) - Constructor for exception class org.microbean.reference.ClientProxyInstantiationException
close() - Method in class org.microbean.reference.DefaultDestructorTree
Closes this DefaultDestructorTree and destroys its registrants by running their destructors supplied at registration time.
close() - Method in interface org.microbean.reference.DestructorTree
Closes this DestructorTree implementation by effectively removing all registered contextual instances and running their affiliated Destructors.
close() - Method in class org.microbean.reference.Request
 

D

DefaultDestructorTree - Class in org.microbean.reference
A straightforward DestructorTree implementation.
DefaultDestructorTree() - Constructor for class org.microbean.reference.DefaultDestructorTree
Creates a new DefaultDestructorTree.
destroy() - Method in interface org.microbean.reference.DestructorRegistry.Destructor
Destroys an object that this implementation opaquely references such that the destroyed object will no longer be suitable for use.
destroy(Object) - Method in class org.microbean.reference.Request
 
DestructorRegistry - Interface in org.microbean.reference
An interface whose implementations can register contextual instances for idempotent destruction at some later point.
DestructorRegistry.Destructor - Interface in org.microbean.reference
An interface indicating that an implementation is capable of destroying an object that it opaquely references such that the destroyed object will no longer be suitable for use.
DestructorTree - Interface in org.microbean.reference
A hierarchical DestructorRegistry that is AutoCloseable.
domain() - Method in class org.microbean.reference.Request
 
DynamicClientProxiesNotSupportedException - Exception Class in org.microbean.reference
A ReferenceException indicating that generation of client proxies at runtime is not supported.
DynamicClientProxiesNotSupportedException() - Constructor for exception class org.microbean.reference.DynamicClientProxiesNotSupportedException
DynamicClientProxiesNotSupportedException(String) - Constructor for exception class org.microbean.reference.DynamicClientProxiesNotSupportedException
DynamicClientProxiesNotSupportedException(String, Throwable) - Constructor for exception class org.microbean.reference.DynamicClientProxiesNotSupportedException
DynamicClientProxiesNotSupportedException(Throwable) - Constructor for exception class org.microbean.reference.DynamicClientProxiesNotSupportedException

I

id() - Method in class org.microbean.reference.Request
 
Instances - Interface in org.microbean.reference
A factory for Suppliers of contextual instances.
iterator() - Method in class org.microbean.reference.Request
 

N

newChild() - Method in class org.microbean.reference.DefaultDestructorTree
 
newChild() - Method in interface org.microbean.reference.DestructorTree
Creates a new child instance of this implementation, or a subtype, registers it with this implementation, using a method reference to its DestructorTree.close() method as the DestructorRegistry.Destructor, and returns it.

O

org.microbean.reference - module org.microbean.reference
Provides packages related to implementing contextual references.
org.microbean.reference - package org.microbean.reference
Provides classes and interfaces related to implementing contextual references.

P

proxiable(Id) - Method in interface org.microbean.reference.Instances
Returns true if and only if it is possible for a client proxy to be created for contextual instances described by the supplied Id.
proxy(ProxySpecification, Class<?>[], Supplier<? extends R>) - Method in class org.microbean.reference.ReflectiveClientProxier
Returns a Proxy appropriate for the supplied specification and Supplier of contextual instances.

R

reference(Bean<R>) - Method in class org.microbean.reference.Request
 
ReferenceException - Exception Class in org.microbean.reference
A RuntimeException thrown to indicate a problem with references.
ReferenceException() - Constructor for exception class org.microbean.reference.ReferenceException
Creates a new ReferenceException.
ReferenceException(String) - Constructor for exception class org.microbean.reference.ReferenceException
Creates a new ReferenceException.
ReferenceException(String, Throwable) - Constructor for exception class org.microbean.reference.ReferenceException
Creates a new ReferenceException.
ReferenceException(Throwable) - Constructor for exception class org.microbean.reference.ReferenceException
Creates a new ReferenceException.
references(AttributedType) - Method in class org.microbean.reference.Request
 
ReflectiveClientProxier - Class in org.microbean.reference
An AbstractReflectiveProxier implementation that uses java.lang.reflect.Proxy machinery.
ReflectiveClientProxier(Domain) - Constructor for class org.microbean.reference.ReflectiveClientProxier
register(Object, DestructorRegistry.Destructor) - Method in class org.microbean.reference.DefaultDestructorTree
If this DefaultDestructorTree is not closed, and if the supplied reference has not yet been registered, registers it such that it will be destroyed by the supplied destructor when this DefaultDestructorTree is closed, and returns true.
register(Object, DestructorRegistry.Destructor) - Method in interface org.microbean.reference.DestructorRegistry
Registers the supplied contextual instance such that at some future moment, or perhaps not at all, the supplied DestructorRegistry.Destructor will be run to destroy it idempotently, and returns true if and only if the registration was successful.
register(Object, DestructorRegistry.Destructor) - Method in class org.microbean.reference.Request
 
remove(Object) - Method in class org.microbean.reference.DefaultDestructorTree
 
remove(Object) - Method in interface org.microbean.reference.DestructorTree
Removes the supplied contextual instance and the DestructorRegistry.Destructor that was registered with it.
Request<I,R> - Class in org.microbean.reference
A central object representing a request for dependencies that is a Creation (and therefore also a Destruction), a DestructorRegistry, and a References.
Request(Domain, Selectable<? super AttributedType, Bean<?>>, Instances, ClientProxier) - Constructor for class org.microbean.reference.Request
Creates a new Request.
Request(Domain, Selectable<? super AttributedType, Bean<?>>, Instances, DestructorTree, ClientProxier) - Constructor for class org.microbean.reference.Request
Creates a new Request.

S

size() - Method in class org.microbean.reference.Request
 
supplier(Bean<I>, Creation<I>) - Method in interface org.microbean.reference.Instances
Returns a Supplier of contextual instances appropriate for the given Creation.
C D I N O P R S 
All Classes and Interfaces|All Packages|Serialized Form