Class DefaultAdvisorChainFactory
java.lang.Object
org.springframework.aop.framework.DefaultAdvisorChainFactory
- All Implemented Interfaces:
 Serializable,AdvisorChainFactory
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.- Since:
 - 2.0.3
 - Author:
 - Juergen Hoeller, Rod Johnson, Adrian Colyer
 - See Also:
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DefaultAdvisorChainFactorySingleton instance of this class. - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptiongetInterceptorsAndDynamicInterceptionAdvice(Advised config, Method method, @Nullable Class<?> targetClass) Determine a list ofMethodInterceptorobjects for the given advisor chain configuration. 
- 
Field Details
- 
INSTANCE
Singleton instance of this class.- Since:
 - 6.0.10
 
 
 - 
 - 
Constructor Details
- 
DefaultAdvisorChainFactory
public DefaultAdvisorChainFactory() 
 - 
 - 
Method Details
- 
getInterceptorsAndDynamicInterceptionAdvice
public List<Object> getInterceptorsAndDynamicInterceptionAdvice(Advised config, Method method, @Nullable Class<?> targetClass) Description copied from interface:AdvisorChainFactoryDetermine a list ofMethodInterceptorobjects for the given advisor chain configuration.- Specified by:
 getInterceptorsAndDynamicInterceptionAdvicein interfaceAdvisorChainFactory- Parameters:
 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)- Returns:
 - a List of MethodInterceptors (may also include InterceptorAndDynamicMethodMatchers)
 
 
 -