Index

$ A C D E G H I L N O P R S 
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 a ClassLoader suitable for eventually transforming it into a Class.
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 a ClientProxy<R>, given a Supplier 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 a Supplier 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 a Class, using the supplied ClassLoader, 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
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 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
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

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 supplied ProxySpecification, and returns it for eventual supplying to an inovcation of the AbstractClientProxier.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 Suppliers 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 supplied clientProxyClass that proxies contextual instances supplied by the supplied instanceSupplier.
instantiate(ProxySpecification, Supplier<? extends R>) - Method in class org.microbean.reference.AbstractClientProxier
Called indirectly by the AbstractClientProxier.clientProxy(Id, Supplier) method when a new ClientProxy<R> instance needs to be created, creates a new instance of a ClientProxy<R> that proxies contextual instances supplied by the supplied instanceSupplier, 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 supplied Class.
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 supplied Id.
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 uses java.lang.reflect.Proxy machinery.
ReflectiveClientProxier(Domain) - Constructor for class org.microbean.reference.ReflectiveClientProxier
ReflectiveClientProxier(Domain, Function<? super List<? extends Class<?>>, ? extends ClassLoader>) - Constructor for class org.microbean.reference.ReflectiveClientProxier
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) and a References.
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
Returns a Supplier of contextual instances appropriate for the given Creation.
$ A C D E G H I L N O P R S 
All Classes and Interfaces|All Packages|Serialized Form