public class ProxyIndirectionHandler
extends java.lang.Object
implements java.lang.reflect.InvocationHandler, java.io.Serializable
ValueHolder
when necessary.ProxyIndirectionPolicy
,
Serialized FormConstructor and Description |
---|
ProxyIndirectionHandler()
INTERNAL:
Just in here to allow for Serialization.
|
Modifier and Type | Method and Description |
---|---|
ValueHolderInterface |
getValueHolder()
INTERNAL:
Get the ValueHolder associated with this handler.
|
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method m,
java.lang.Object[] args)
INTERNAL:
Handle the method calls on the proxy object.
|
static java.lang.Object |
newProxyInstance(java.lang.Class anInterface,
java.lang.Class[] interfaces,
ValueHolderInterface valueHolder)
INTERNAL:
Utility method to create a new proxy object.
|
void |
setValueHolder(ValueHolderInterface value)
INTERNAL:
Set the ValueHolder associated with this handler.
|
public ProxyIndirectionHandler()
public java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method m, java.lang.Object[] args) throws java.lang.Throwable
invoke
in interface java.lang.reflect.InvocationHandler
java.lang.Throwable
public static java.lang.Object newProxyInstance(java.lang.Class anInterface, java.lang.Class[] interfaces, ValueHolderInterface valueHolder)
public ValueHolderInterface getValueHolder()
public void setValueHolder(ValueHolderInterface value)
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference