程序包 cn.taketoday.aop
接口 InterceptorChainFactory
- 所有已知实现类:
DefaultInterceptorChainFactory
public interface InterceptorChainFactory
Factory interface for advisor chains.
- 从以下版本开始:
- 4.0
- 作者:
- Rod Johnson, Juergen Hoeller
-
方法概要
修饰符和类型方法说明getInterceptorsAndDynamicInterceptionAdvice(Advised config, Method method, Class<?> targetClass) Determine a list ofMethodInterceptorobjects for the given advisor chain configuration.
-
方法详细资料
-
getInterceptorsAndDynamicInterceptionAdvice
MethodInterceptor[] getInterceptorsAndDynamicInterceptionAdvice(Advised config, Method method, @Nullable Class<?> targetClass) Determine a list ofMethodInterceptorobjects for the given advisor chain configuration.- 参数:
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)
-