|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectcom.jdon.bussinessproxy.dyncproxy.cglib.CGLIBDynamicProxyWeaving
public class CGLIBDynamicProxyWeaving
CGLIB Dynamic Proxy Weaving mode Weaving implemention is dynamic proxy Every target service object has its DynamicProxyWeaving object problem: memory leak is more entwined in cglib. The leak can be removed by having cglib loaded by a different classloader than the one for the web app. The solution is to move the cglib jar and the asm jar to the shared lib directory of Tomcat. http://users.cis.fiu.edu/~downeyt/webdev/memory_leaks.shtml
| 构造方法摘要 | |
|---|---|
CGLIBDynamicProxyWeaving(TargetMetaRequest targetMetaRequest,
AopClient aopClient)
|
|
| 方法摘要 | |
|---|---|
Object |
intercept(Object object,
Method method,
Object[] objects,
net.sf.cglib.proxy.MethodProxy methodProxy)
|
Object |
invoke(Object p_proxy,
Method m,
Object[] args)
方法调用 需要拦截方法在这里实现。 |
void |
start()
Start this component. |
void |
stop()
Stop this component. |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public CGLIBDynamicProxyWeaving(TargetMetaRequest targetMetaRequest,
AopClient aopClient)
| 方法详细信息 |
|---|
public Object intercept(Object object,
Method method,
Object[] objects,
net.sf.cglib.proxy.MethodProxy methodProxy)
throws Throwable
net.sf.cglib.proxy.MethodInterceptor 中的 interceptThrowable
public Object invoke(Object p_proxy,
Method m,
Object[] args)
throws Throwable
p_proxy - Objectm - Methodargs - Object[]
Throwablepublic void start()
Startable 复制的描述
Startable 中的 startpublic void stop()
Startable 复制的描述
Startable 中的 stop
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||