当前页面:
在线文档首页 >
Spring Framework 1.2.9 API 文档英文版
AdvisorChainFactoryUtils (Spring Framework) - Spring Framework 1.2.9 API 文档英文版
org.springframework.aop.framework
Class AdvisorChainFactoryUtils
java.lang.Object
org.springframework.aop.framework.AdvisorChainFactoryUtils
public abstract class AdvisorChainFactoryUtils
- extends Object
Utility methods for use by AdvisorChainFactory
implementations.
The calculateInterceptorsAndDynamicInterceptionAdvice(org.springframework.aop.framework.Advised, java.lang.Object, java.lang.reflect.Method, java.lang.Class)
method
is the definitive way of working out an advice chain for a Method,
given an Advised
object.
- Author:
- Rod Johnson, Juergen Hoeller
- See Also:
AdvisorChainFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SIMPLE_ADVISOR_CHAIN_FACTORY
public static final AdvisorChainFactory SIMPLE_ADVISOR_CHAIN_FACTORY
- Canonical instance of a simple AdvisorChainFactory implementation that
delegates to the
calculateInterceptorsAndDynamicInterceptionAdvice(org.springframework.aop.framework.Advised, java.lang.Object, java.lang.reflect.Method, java.lang.Class)
method.
AdvisorChainFactoryUtils
public AdvisorChainFactoryUtils()
calculateInterceptorsAndDynamicInterceptionAdvice
public static List calculateInterceptorsAndDynamicInterceptionAdvice(Advised config,
Object proxy,
Method method,
Class targetClass)
- Return the static interceptors and dynamic interception advice that may apply
to this method invocation.
- Parameters:
config
- the AOP configuration in the form of an Advised obkectproxy
- the proxy objectmethod
- the proxied methodtargetClass
- the target class
- Returns:
- list of
MethodInterceptor
and
InterceptorAndDynamicMethodMatcher
elements (using the latter
if there is a dynamic method matcher that needs evaluation at runtime)
Copyright (c) 2002-2007 The Spring Framework Project.