T- type of the proxy that will have its method calls intercepted
public interface MethodInvocation<T>
|Modifier and Type||Method and Description|
Executes for all method invocations on proxies.
Object intercept(T proxy, Method method, Object args, SuperMethod superMethod)
proxy- that received the method call.
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 © 2014 Caelum. All rights reserved.