public class ProxyIndirectionHandler extends Object implements InvocationHandler, 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.
|
Object |
invoke(Object proxy,
Method m,
Object[] args)
INTERNAL:
Handle the method calls on the proxy object.
|
static Object |
newProxyInstance(Class anInterface,
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 Object invoke(Object proxy, Method m, Object[] args) throws Throwable
invoke
in interface InvocationHandler
Throwable
public static Object newProxyInstance(Class anInterface, Class[] interfaces, ValueHolderInterface valueHolder)
public ValueHolderInterface getValueHolder()
public void setValueHolder(ValueHolderInterface value)
EclipseLink 2.5.2, "build v20140319-9ad6abd" API Reference