com.bstek.dorado.util.proxy
public class MethodInterceptorProxyDispatcher extends MethodInterceptorDispatcher
Constructor and Description |
---|
MethodInterceptorProxyDispatcher(java.lang.Object target,
org.aopalliance.intercept.MethodInterceptor[] subMethodInterceptors) |
Modifier and Type | Method and Description |
---|---|
protected org.aopalliance.intercept.MethodInterceptor |
createCglibFinalMethodInterceptor(net.sf.cglib.proxy.MethodProxy methodProxy) |
protected org.aopalliance.intercept.MethodInterceptor |
createJavassistFinalMethodInterceptor(java.lang.reflect.Method method,
java.lang.reflect.Method procssed) |
protected org.aopalliance.intercept.MethodInvocation |
createMethodInvocation(java.lang.Object object,
java.lang.reflect.Method method,
java.lang.Object[] args,
MethodInterceptorChain methodInterceptorChain)
创建一个用于org.aopalliance.intercept.
|
MethodInterceptorFilter |
getMethodInterceptorFilter(java.lang.Object object,
java.lang.reflect.Method method,
java.lang.Object[] args) |
java.lang.Object |
getTarget()
返回被代理的对象。
|
createFinalAopallianceMethodInterceptor, filterMethod, getObjectForSerialization, getSubMethodInterceptors, intercept, invoke, invoke, setSubMethodInterceptors
public MethodInterceptorProxyDispatcher(java.lang.Object target, org.aopalliance.intercept.MethodInterceptor[] subMethodInterceptors)
target
- 被代理的对象。subMethodInterceptors
- 等待分派的子方法拦截器的数组。public MethodInterceptorFilter getMethodInterceptorFilter(java.lang.Object object, java.lang.reflect.Method method, java.lang.Object[] args)
getMethodInterceptorFilter
in class MethodInterceptorDispatcher
public java.lang.Object getTarget()
protected org.aopalliance.intercept.MethodInterceptor createCglibFinalMethodInterceptor(net.sf.cglib.proxy.MethodProxy methodProxy)
createCglibFinalMethodInterceptor
in class MethodInterceptorDispatcher
protected org.aopalliance.intercept.MethodInterceptor createJavassistFinalMethodInterceptor(java.lang.reflect.Method method, java.lang.reflect.Method procssed)
createJavassistFinalMethodInterceptor
in class MethodInterceptorDispatcher
protected org.aopalliance.intercept.MethodInvocation createMethodInvocation(java.lang.Object object, java.lang.reflect.Method method, java.lang.Object[] args, MethodInterceptorChain methodInterceptorChain)
MethodInterceptorDispatcher
createMethodInvocation
in class MethodInterceptorDispatcher
object
- 被代理对象method
- 被代理方法args
- 被代理方法的参数methodInterceptorChain
- 用于迭代所有子方法拦截器的迭代器(包含
#createFinalMethodInterceptor(MethodProxy)
返回的拦截器)Copyright © 2001-2011 www.BSTEK.com All Rights Reserved.