Index
All Classes and Interfaces|All Packages|Serialized Form
C
- ClientProxier - Interface in org.microbean.reference
-
A source of
Proxyinstances representing client proxies. - clientProxy(Id, Supplier<? extends R>) - Method in interface org.microbean.reference.ClientProxier
- clientProxy(Id, Supplier<? extends R>) - Method in class org.microbean.reference.ReflectiveClientProxier
- ClientProxyInstantiationException - Exception Class in org.microbean.reference
-
A
ReferenceExceptionindicating that a client proxy class could not be instantiated. - ClientProxyInstantiationException() - Constructor for exception class org.microbean.reference.ClientProxyInstantiationException
-
Creates a new
ClientProxyInstantiationException. - ClientProxyInstantiationException(String) - Constructor for exception class org.microbean.reference.ClientProxyInstantiationException
-
Creates a new
ClientProxyInstantiationException. - ClientProxyInstantiationException(String, Throwable) - Constructor for exception class org.microbean.reference.ClientProxyInstantiationException
-
Creates a new
ClientProxyInstantiationException. - ClientProxyInstantiationException(Throwable) - Constructor for exception class org.microbean.reference.ClientProxyInstantiationException
-
Creates a new
ClientProxyInstantiationException. - close() - Method in class org.microbean.reference.DefaultDestructorTree
-
Closes this
DefaultDestructorTreeand destroys its registrants by running their destructors supplied at registration time. - close() - Method in interface org.microbean.reference.DestructorTree
-
Closes this
DestructorTreeimplementation by effectively removing all registered contextual instances and running their affiliatedDestructors. - close() - Method in class org.microbean.reference.Request
D
- DefaultDestructorTree - Class in org.microbean.reference
-
A straightforward
DestructorTreeimplementation. - 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
DestructorRegistrythat isAutoCloseable. - domain() - Method in class org.microbean.reference.Request
- DynamicClientProxiesNotSupportedException - Exception Class in org.microbean.reference
-
A
ReferenceExceptionindicating that generation of client proxies at runtime is not supported. - DynamicClientProxiesNotSupportedException() - Constructor for exception class org.microbean.reference.DynamicClientProxiesNotSupportedException
-
Creates a new
DynamicClientProxiesNotSupportedException. - DynamicClientProxiesNotSupportedException(String) - Constructor for exception class org.microbean.reference.DynamicClientProxiesNotSupportedException
-
Creates a new
DynamicClientProxiesNotSupportedException. - DynamicClientProxiesNotSupportedException(String, Throwable) - Constructor for exception class org.microbean.reference.DynamicClientProxiesNotSupportedException
-
Creates a new
DynamicClientProxiesNotSupportedException. - DynamicClientProxiesNotSupportedException(Throwable) - Constructor for exception class org.microbean.reference.DynamicClientProxiesNotSupportedException
-
Creates a new
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 theDestructorRegistry.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
trueif and only if it is possible for a client proxy to be created for contextual instances described by the suppliedId. - proxy(ProxySpecification, Class<?>[], Supplier<? extends R>) - Method in class org.microbean.reference.ReflectiveClientProxier
R
- reference(Bean<R>) - Method in class org.microbean.reference.Request
- ReferenceException - Exception Class in org.microbean.reference
-
A
RuntimeExceptionthrown 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
AbstractReflectiveProxierimplementation that usesjava.lang.reflect.Proxymachinery. - ReflectiveClientProxier(Domain) - Constructor for class org.microbean.reference.ReflectiveClientProxier
-
Creates a new
ReflectiveClientProxier. - register(Object, DestructorRegistry.Destructor) - Method in class org.microbean.reference.DefaultDestructorTree
-
If this
DefaultDestructorTreeis not closed, and if the suppliedreferencehas not yet been registered, registers it such that it will be destroyed by the supplieddestructorwhen thisDefaultDestructorTreeis closed, and returnstrue. - 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.Destructorwill be run to destroy it idempotently, and returnstrueif 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.Destructorthat 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 aDestruction), aDestructorRegistry, and aReferences. - 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
All Classes and Interfaces|All Packages|Serialized Form