T
- type of the proxy that will have its method calls interceptedpublic interface MethodInvocation<T>
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
intercept(T proxy,
java.lang.reflect.Method method,
java.lang.Object[] args,
SuperMethod superMethod)
Executes for all method invocations on proxies.
|
java.lang.Object intercept(T proxy, java.lang.reflect.Method method, java.lang.Object[] args, SuperMethod superMethod)
proxy
- that received the method call.method
- called.args
- given to the method call.superMethod
- allowing calls to the overriden original method. A super method call only makes sense for
concrete class proxies.Copyright © 2013 Caelum. All Rights Reserved.