public interface InvocationListener
InvocationListener is used in conjunction with the ProxyManager
to intercept method calls on the proxy object| Modifier and Type | Method and Description |
|---|---|
default Object |
aroundInvoke(Object token,
Object proxy,
Callable<Object> dispatcher,
Method method,
Object[] args) |
void |
postInvoke(Object token,
Object proxy,
Method m,
Object returnValue) |
void |
postInvokeExceptionalReturn(Object token,
Object proxy,
Method m,
Throwable exception) |
Object |
preInvoke(Object proxy,
Method m,
Object[] args) |
Object preInvoke(Object proxy, Method m, Object[] args) throws Throwable
Throwablevoid postInvoke(Object token, Object proxy, Method m, Object returnValue) throws Throwable
Throwablevoid postInvokeExceptionalReturn(Object token, Object proxy, Method m, Throwable exception) throws Throwable
ThrowableCopyright © 2009–2026 The Apache Software Foundation. All rights reserved.