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
.
B
- beanReduction() - Method in class org.microbean.reference.DefaultRequest
C
- child(BeanReduction<J>) - Method in class org.microbean.reference.DefaultRequest
- 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 supplier of
ClientProxy
instances. - clientProxy(Request<R>, 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(Request<R>, 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 class org.microbean.reference.DefaultRequest
- close() - Method in interface org.microbean.reference.Instances
- closed() - Method in class org.microbean.reference.DefaultRequest
- created(I) - Method in class org.microbean.reference.DefaultRequest
D
- DefaultRequest<I> - Class in org.microbean.reference
-
A basic implementation of the
Request
interface. - DefaultRequest(Selectable<AttributedType, Bean<?>>, Reducible<AttributedType, Bean<?>>, Instances, AutoCloseableRegistry, Creation<I>, ClientProxier) - Constructor for class org.microbean.reference.DefaultRequest
-
Creates a new
DefaultRequest
. - DefaultRequest(Selectable<AttributedType, Bean<?>>, Reducible<AttributedType, Bean<?>>, Instances, ClientProxier) - Constructor for class org.microbean.reference.DefaultRequest
-
Creates a new
DefaultRequest
. - 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
- InstanceRemover - Interface in org.microbean.reference
-
A facility for removing contextual instances from some kind of storage.
- 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(Request, 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.
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.
- newChild() - Method in class org.microbean.reference.DefaultRequest
O
- org.microbean.reference - module org.microbean.reference
-
Provides packages related to implementing references.
- org.microbean.reference - package org.microbean.reference
-
Provides classes and interfaces related to implementing contextual references.
P
- proxiable(Request<?>) - Method in interface org.microbean.reference.Instances
-
Returns
true
if and only if the suppliedRequest
should result in a contextual reference that is a client proxy. - ProxySpecification - Class in org.microbean.reference
-
Information about a client proxy.
R
- reduce(AttributedType) - Method in class org.microbean.reference.DefaultRequest
- reference(AttributedType) - Method in class org.microbean.reference.DefaultRequest
- reference(AttributedType, Bean<R>, Creation<R>) - Method in class org.microbean.reference.DefaultRequest
- reference(AttributedType, Creation<R>) - Method in class org.microbean.reference.DefaultRequest
- 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
. - ReflectiveClientProxier - Class in org.microbean.reference
-
An
AbstractClientProxier
implementation that usesProxy
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
. - register(AutoCloseable) - Method in class org.microbean.reference.DefaultRequest
- remove(Id) - Method in interface org.microbean.reference.InstanceRemover
-
Removes the contextual instance indexed under the supplied
Id
.
S
- select(AttributedType) - Method in class org.microbean.reference.DefaultRequest
- superclass() - Method in class org.microbean.reference.ProxySpecification
-
Returns the superclass the proxy should specialize.
- supplier(Request<I>) - Method in interface org.microbean.reference.Instances
All Classes and Interfaces|All Packages|Serialized Form