public class DelegatingInvocationHandler extends AbstractClosureInvocationHandler
Modifier and Type | Class and Description |
---|---|
static class |
DelegatingInvocationHandler.DelegationFailedException |
Constructor and Description |
---|
DelegatingInvocationHandler(java.lang.Object receiver,
java.lang.Class<?> interfaceType) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
doInvoke(java.lang.reflect.Method method,
java.lang.Object[] args) |
protected java.lang.reflect.Method |
findMethod(java.lang.Class<?> interfaceType) |
invoke, isEquals, isHashCode, isToString, proxyToString
public DelegatingInvocationHandler(java.lang.Object receiver, java.lang.Class<?> interfaceType)
protected java.lang.reflect.Method findMethod(java.lang.Class<?> interfaceType)
protected java.lang.Object doInvoke(java.lang.reflect.Method method, java.lang.Object[] args) throws java.lang.Throwable
doInvoke
in class AbstractClosureInvocationHandler
java.lang.Throwable