Interface AdvisorChainFactory
- All Known Implementing Classes:
DefaultAdvisorChainFactory
public interface AdvisorChainFactory
Factory interface for advisor chains.
- Author:
- Rod Johnson, Juergen Hoeller
-
Method Summary
Modifier and TypeMethodDescriptiongetInterceptorsAndDynamicInterceptionAdvice
(Advised config, Method method, Class<?> targetClass) Determine a list ofMethodInterceptor
objects for the given advisor chain configuration.
-
Method Details
-
getInterceptorsAndDynamicInterceptionAdvice
List<Object> getInterceptorsAndDynamicInterceptionAdvice(Advised config, Method method, @Nullable Class<?> targetClass) Determine a list ofMethodInterceptor
objects for the given advisor chain configuration.- Parameters:
config
- the AOP configuration in the form of an Advised objectmethod
- the proxied methodtargetClass
- the target class (may benull
to 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)
-