Enhancer callback which provides for "around advice".
| Modifier and Type | Method and Description |
|---|---|
| public Object | Returns: any value compatible with the signature of the proxied method. Method returning void will ignore this value."this", the enhanced object obj, Method intercepted Method method, Object[] argument array; primitive types are wrapped args, MethodProxy used to invoke super (non-intercepted method); may be called
as many times as needed proxy)All generated proxied methods call this method instead of the original method. |
| intercept | back to summary |
|---|---|
| public Object intercept(Object obj, Method method, Object[] args, MethodProxy proxy) throws Throwable All generated proxied methods call this method instead of the original method. The original method may either be invoked by normal reflection using the Method object, or by using the MethodProxy (faster).
| |