public class MInterceptor extends Object implements InvocationHandler
MInterceptor should be renamed.
| Constructor and Description |
|---|
MInterceptor(org.aopalliance.intercept.MethodInterceptor mi) |
| Modifier and Type | Method and Description |
|---|---|
Object |
invoke(Object target,
Method m,
Object[] args)
Called by Jiapi runtime.
|
public Object invoke(Object target, Method m, Object[] args) throws Throwable
This method is a bridge between Jiapi interceptors and aopalliance
interceptors. It creates
org.aopalliance.intercept.MethodInvocation and passes it to
rg.aopalliance.intercept.MethodInterceptor given in
constructor.
invoke in interface InvocationHandlerThrowableCopyright © 2017. All rights reserved.