程序包 cn.taketoday.aop
类 DefaultInterceptorChainFactory
java.lang.Object
cn.taketoday.aop.DefaultInterceptorChainFactory
- 所有已实现的接口:
InterceptorChainFactory,Serializable
public class DefaultInterceptorChainFactory
extends Object
implements InterceptorChainFactory, Serializable
A simple but definitive way of working out an advice chain for a Method,
given an
Advised object. Always rebuilds each advice chain;
caching can be provided by subclasses.- 从以下版本开始:
- 4.0
- 作者:
- Juergen Hoeller, Rod Johnson, Adrian Colyer
- 另请参阅:
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明getInterceptorsAndDynamicInterceptionAdvice(Advised config, Method method, Class<?> targetClass) Determine a list ofMethodInterceptorobjects for the given advisor chain configuration.voidsetRegistry(AdvisorAdapterRegistry registry)
-
构造器详细资料
-
DefaultInterceptorChainFactory
public DefaultInterceptorChainFactory()
-
-
方法详细资料
-
getInterceptorsAndDynamicInterceptionAdvice
public MethodInterceptor[] getInterceptorsAndDynamicInterceptionAdvice(Advised config, Method method, @Nullable Class<?> targetClass) 从接口复制的说明:InterceptorChainFactoryDetermine a list ofMethodInterceptorobjects for the given advisor chain configuration.- 指定者:
getInterceptorsAndDynamicInterceptionAdvice在接口中InterceptorChainFactory- 参数:
config- the AOP configuration in the form of an Advised objectmethod- the proxied methodtargetClass- the target class (may benullto indicate a proxy without target object, in which case the method's declaring class is the next best option)- 返回:
- a array of MethodInterceptors (may also include RuntimeMethodInterceptor)
-
setRegistry
-
getRegistry
-