当前页面:
在线文档首页 >
Spring Framework 2.0.5 API 文档英文版
DefaultAdvisorChainFactory (Spring Framework API 2.0) - Spring Framework 2.0.5 API 文档英文版
org.springframework.aop.framework
Class DefaultAdvisorChainFactory
java.lang.Object
org.springframework.aop.framework.DefaultAdvisorChainFactory
- All Implemented Interfaces:
- AdvisorChainFactory
- Direct Known Subclasses:
- HashMapCachingAdvisorChainFactory
public class DefaultAdvisorChainFactory
- extends Object
- implements 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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultAdvisorChainFactory
public DefaultAdvisorChainFactory()
getInterceptorsAndDynamicInterceptionAdvice
public List getInterceptorsAndDynamicInterceptionAdvice(Advised config,
Object proxy,
Method method,
Class targetClass)
- Description copied from interface:
AdvisorChainFactory
- Determine a list of
MethodInterceptor
objects.
- Specified by:
getInterceptorsAndDynamicInterceptionAdvice
in interface AdvisorChainFactory
- Parameters:
config
- the AOP configuration in the form of an Advised objectproxy
- the proxy object (currently always null
;
this argument will be removed in Spring 2.1!)method
- the proxied methodtargetClass
- the target class
- Returns:
- List of MethodInterceptors (may also include InterceptorAndDynamicMethodMatchers)
Copyright © 2002-2007 The Spring Framework.