public interface InvocationHandler
| Modifier and Type | Method and Description |
|---|---|
static InvocationHandler |
cancelling()
Get a new invocation handler which cancels all method calls.
|
static InvocationHandler |
forwarding()
Get a new invocation handler which forwards all method calls to the super class.
|
java.lang.Object |
invoke(java.lang.Object thiz,
ProxyMethod proxyMethod,
java.lang.Object... args)
Handle a proxy method invocation.
|
static InvocationHandler forwarding()
static InvocationHandler cancelling()
java.lang.Object invoke(java.lang.Object thiz,
ProxyMethod proxyMethod,
java.lang.Object... args)
thiz - The instance of the proxyproxyMethod - The proxy method which was invokedargs - The arguments of the method call