Class ReflectiveInterceptionProxier
java.lang.Object
org.microbean.proxy.AbstractProxier<InterceptionProxier.Specification>
org.microbean.proxy.AbstractReflectiveProxier<InterceptionProxier.Specification>
org.microbean.producer.ReflectiveInterceptionProxier
public final class ReflectiveInterceptionProxier
extends AbstractReflectiveProxier<InterceptionProxier.Specification>
An
AbstractReflectiveProxier
implementation that uses the proxy features of the Java Development Kit.- Author:
- Laird Nelson
-
Constructor Summary
ConstructorsConstructorDescriptionReflectiveInterceptionProxier
(Domain domain) Creates a newReflectiveInterceptionProxier
. -
Method Summary
Modifier and TypeMethodDescriptionprotected final <R> Proxy
<R> proxy
(InterceptionProxier.Specification ps, Class<?>[] interfaces, Supplier<? extends R> instanceSupplier) Methods inherited from class org.microbean.proxy.AbstractReflectiveProxier
equalsMethod, executableElement, hashCodeMethod, parameterizable, proxy, type, types
Methods inherited from class org.microbean.proxy.AbstractProxier
classLoader, domain
-
Constructor Details
-
ReflectiveInterceptionProxier
Creates a newReflectiveInterceptionProxier
.- Parameters:
domain
- aDomain
; must not benull
-
-
Method Details
-
proxy
protected final <R> Proxy<R> proxy(InterceptionProxier.Specification ps, Class<?>[] interfaces, Supplier<? extends R> instanceSupplier) - Specified by:
proxy
in classAbstractReflectiveProxier<InterceptionProxier.Specification>
-