public interface MethodInterceptor extends Callback
Enhancer
callback which provides for "around advice".Object intercept(Object obj, Method method, Object[] args, MethodProxy proxy) throws Throwable
obj
- "this", the enhanced objectmethod
- intercepted Methodargs
- argument array; primitive types are wrappedproxy
- used to invoke super (non-intercepted method); may be called
as many times as neededThrowable
- any exception may be thrown; if so, super method will not be invokedMethodProxy
Copyright © 2016. All rights reserved.