类 DefaultAdvisorChainFactory
- java.lang.Object
- org.springframework.aop.framework.DefaultAdvisorChainFactory
- 所有已实现的接口:
Serializable,AdvisorChainFactory
public class DefaultAdvisorChainFactory extends Object implements AdvisorChainFactory, Serializable
A simple but definitive way of working out an advice chain for a Method, given anAdvisedobject. Always rebuilds each advice chain; caching can be provided by subclasses.- 从以下版本开始:
- 2.0.3
- 作者:
- Juergen Hoeller, Rod Johnson, Adrian Colyer
- 另请参阅:
- 序列化表格
构造器概要
构造器 构造器 说明 DefaultAdvisorChainFactory()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 List<Object>getInterceptorsAndDynamicInterceptionAdvice(Advised config, Method method, Class<?> targetClass)Determine a list ofMethodInterceptorobjects for the given advisor chain configuration.
构造器详细资料
DefaultAdvisorChainFactory
public DefaultAdvisorChainFactory()
方法详细资料
getInterceptorsAndDynamicInterceptionAdvice
public List<Object> getInterceptorsAndDynamicInterceptionAdvice(Advised config, Method method, Class<?> targetClass)
从接口复制的说明:AdvisorChainFactoryDetermine a list ofMethodInterceptorobjects for the given advisor chain configuration.- 指定者:
getInterceptorsAndDynamicInterceptionAdvice在接口中AdvisorChainFactory- 参数:
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)- 返回:
- List of MethodInterceptors (may also include InterceptorAndDynamicMethodMatchers)