Index
All Classes and Interfaces|All Packages|Serialized Form
$
- $cast() - Method in interface org.microbean.reference.ClientProxy
-
Returns this
ClientProxy
, or a completely substitutable replacement for it, cast to the type of the instance it proxies. - $proxied() - Method in class org.microbean.reference.AbstractClientProxy
- $proxied() - Method in interface org.microbean.reference.ClientProxy
-
Returns the instance being proxied, not this
ClientProxy
.
A
- AbstractClientProxier<T> - Class in org.microbean.reference
-
A skeletal implementation of the
ClientProxier
interface. - AbstractClientProxier(Domain) - Constructor for class org.microbean.reference.AbstractClientProxier
-
Creates a new
AbstractClientProxier
. - AbstractClientProxy<I> - Class in org.microbean.reference
-
A skeletal implementation of the
ClientProxy
interface. - AbstractClientProxy(Supplier<? extends I>) - Constructor for class org.microbean.reference.AbstractClientProxy
-
Creates a new
AbstractClientProxy
.
C
- classLoader(TypeElement) - Method in class org.microbean.reference.AbstractClientProxier
-
Given a
TypeElement
that is a declared type, returns aClassLoader
suitable for eventually transforming it into aClass
. - ClientProxier - Interface in org.microbean.reference
-
A source of
ClientProxy
instances. - clientProxy(Id, Supplier<? extends R>) - Method in class org.microbean.reference.AbstractClientProxier
-
Returns a contextual reference of type
R
, which is also aClientProxy<R>
, given aSupplier
of contextual instances of the appropriate type. - clientProxy(Id, Supplier<? extends R>) - Method in interface org.microbean.reference.ClientProxier
-
Returns a contextual reference which is also a
ClientProxy
, given aSupplier
of contextual instances of the appropriate type. - ClientProxy<T> - Interface in org.microbean.reference
-
An interface whose implementations pretend to be another type and alter the behavior of instances of that type in some way.
- clientProxyClass(T, ClassLoader) - Method in class org.microbean.reference.AbstractClientProxier
-
Called by the default implementation of the
AbstractClientProxier.instantiate(ProxySpecification, Supplier)
method, converts the supplied class definition into aClass
, using the suppliedClassLoader
, and returns it (optional operation). - 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
-
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 interface org.microbean.reference.Instances
- close() - Method in class org.microbean.reference.Request
D
- destroy(R) - Method in class org.microbean.reference.Request
- domain() - Method in class org.microbean.reference.AbstractClientProxier
-
Returns the
Domain
supplied at construction time. - 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
-
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
.
E
- equals(Object) - Method in class org.microbean.reference.ProxySpecification
G
- generate(ProxySpecification) - Method in class org.microbean.reference.AbstractClientProxier
-
Called indirectly by the default implementation of the
AbstractClientProxier.instantiate(ProxySpecification, Supplier)
method, creates a generated class definition from the information present in the suppliedProxySpecification
, and returns it for eventual supplying to an inovcation of theAbstractClientProxier.clientProxyClass(Object, ClassLoader)
method (optional operation).
H
- hashCode() - Method in class org.microbean.reference.ProxySpecification
I
- Instances - Interface in org.microbean.reference
-
A factory for
Supplier
s of contextual instances. - instantiate(Class<?>, Supplier<? extends R>) - Method in class org.microbean.reference.AbstractClientProxier
-
Called by the
AbstractClientProxier.instantiate(ProxySpecification, Supplier)
method, creates a new instance of the suppliedclientProxyClass
that proxies contextual instances supplied by the suppliedinstanceSupplier
. - instantiate(ProxySpecification, Supplier<? extends R>) - Method in class org.microbean.reference.AbstractClientProxier
-
Called indirectly by the
AbstractClientProxier.clientProxy(Id, Supplier)
method when a newClientProxy<R>
instance needs to be created, creates a new instance of aClientProxy<R>
that proxies contextual instances supplied by the suppliedinstanceSupplier
, and returns it. - instantiate(ProxySpecification, Supplier<? extends R>) - Method in class org.microbean.reference.ReflectiveClientProxier
- interfaces() - Method in class org.microbean.reference.ProxySpecification
-
Returns the interfaces the proxy should implement.
- iterator() - Method in class org.microbean.reference.Request
L
- lookup(Class<?>) - Method in class org.microbean.reference.AbstractClientProxier
-
Returns a
MethodHandles.Lookup
suitable for the suppliedClass
. - lookup(Class<?>) - Method in class org.microbean.reference.ReflectiveClientProxier
N
- name() - Method in class org.microbean.reference.ProxySpecification
-
Returns the name the proxy class should have.
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 suppliedId
. - ProxySpecification - Class in org.microbean.reference
-
Information about a client proxy.
R
- 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
AbstractClientProxier
implementation that usesjava.lang.reflect.Proxy
machinery. - ReflectiveClientProxier(Domain) - Constructor for class org.microbean.reference.ReflectiveClientProxier
-
Creates a new
ReflectiveClientProxier
. - ReflectiveClientProxier(Domain, Function<? super List<? extends Class<?>>, ? extends ClassLoader>) - Constructor for class org.microbean.reference.ReflectiveClientProxier
-
Creates a new
ReflectiveClientProxier
. - Request<I,
R> - Class in org.microbean.reference -
A central object representing a request for dependencies that is a
Creation
(and therefore also aDestruction
) and aReferences
. - Request(Domain, Selectable<? super AttributedType, Bean<?>>, Instances, AutoCloseableRegistry, ClientProxier, BeanReduction<I>) - Constructor for class org.microbean.reference.Request
-
Creates a new
Request
.
S
- superclass() - Method in class org.microbean.reference.ProxySpecification
-
Returns the superclass the proxy should specialize.
- supplier(Bean<I>, Creation<I>) - Method in interface org.microbean.reference.Instances
All Classes and Interfaces|All Packages|Serialized Form