public class MultipleBeanMethodInterceptorChain extends BeanMethodInterceptorChain
| 限定符和类型 | 字段和说明 |
|---|---|
protected List<Annotation> |
annotationList
注解列表
|
protected Integer |
index
执行进度标记
Progress mark
|
protected net.sf.cglib.proxy.MethodProxy |
methodProxy
方法代理器
Method proxy object
|
interceptorList| 构造器和说明 |
|---|
MultipleBeanMethodInterceptorChain(List<Annotation> annotations,
List<BeanMethodInterceptorChain> chainList)
初始化多重拦截器链
Initialize multiple interceptor chains.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
execute(Annotation annotation,
Object object,
Method method,
Object[] params)
调用一个具体的拦截器
Call a specific interceptor.
|
Object |
startInterceptor(Annotation annotation,
Object object,
Method method,
Object[] params,
net.sf.cglib.proxy.MethodProxy methodProxy)
开始执行拦截器链
Start executing the interceptor chain.
|
addprotected List<Annotation> annotationList
protected Integer index
protected net.sf.cglib.proxy.MethodProxy methodProxy
public MultipleBeanMethodInterceptorChain(List<Annotation> annotations, List<BeanMethodInterceptorChain> chainList)
annotations - 注解列表chainList - 拦截器链列表public Object startInterceptor(Annotation annotation, Object object, Method method, Object[] params, net.sf.cglib.proxy.MethodProxy methodProxy) throws Throwable
startInterceptor 在类中 BeanMethodInterceptorChainannotation - 拦截方法的注解实例/Annotation instances of the intercepting method.object - 方法所属对象/Method ownermethod - 方法定义/Method definitionparams - 方法参数列表/Method parameter listmethodProxy - 方法代理器Throwable - 该方法可能抛出异常,请谨慎处理/This method may throw an exception, handle with care.public Object execute(Annotation annotation, Object object, Method method, Object[] params) throws Throwable
execute 在类中 BeanMethodInterceptorChainannotation - 拦截方法的注解实例/Annotation instances of the intercepting method.object - 方法所属对象/Method ownermethod - 方法定义/Method definitionparams - 方法参数列表/Method parameter listThrowable - 该方法可能抛出异常,请谨慎处理/This method may throw an exception, handle with care.Copyright © 2021. All rights reserved.