com.jdon.bussinessproxy.dyncproxy
类 DynamicProxyWeaving
java.lang.Object
com.jdon.bussinessproxy.dyncproxy.DynamicProxyWeaving
- 所有已实现的接口:
- Serializable, InvocationHandler
public class DynamicProxyWeaving
- extends Object
- implements InvocationHandler, Serializable
Dynamic Proxy Weaving mode Weaving implemention is dynamic proxy Every target
service object has its DynamicProxyWeaving object
动态代理类 可实现AOP拦截
- 作者:
- banq
- 另请参见:
- 序列化表格
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DynamicProxyWeaving
public DynamicProxyWeaving(TargetMetaRequest targetMetaRequest,
AopClient aopClient)
invoke
public Object invoke(Object p_proxy,
Method m,
Object[] args)
throws Throwable
- 方法调用 需要拦截方法在这里实现。目前实现arround intercept
- 指定者:
- 接口
InvocationHandler 中的 invoke
- 参数:
p_proxy - Objectm - Methodargs - Object[]
- 返回:
- Object
- 抛出:
Throwable
Copyright © 2013. All Rights Reserved.