站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Spring Framework 2.0.5 API 文档英文版

AdvisorChainFactoryUtils (Spring Framework API 2.0) - Spring Framework 2.0.5 API 文档英文版

The Spring Framework

org.springframework.aop.framework
Class AdvisorChainFactoryUtils

java.lang.Object
  extended by org.springframework.aop.framework.AdvisorChainFactoryUtils

Deprecated. as of Spring 2.0.3, in favor of DefaultAdvisorChainFactory. This utility class will be removed in Spring 2.1.

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

Field Summary
static AdvisorChainFactory SIMPLE_ADVISOR_CHAIN_FACTORY
          Deprecated. Canonical instance of a simple AdvisorChainFactory implementation.
 
Constructor Summary
AdvisorChainFactoryUtils()
          Deprecated.  
 
Method Summary
static List calculateInterceptorsAndDynamicInterceptionAdvice(Advised config, Object proxy, Method method, Class targetClass)
          Deprecated. Return the static interceptors and dynamic interception advice that may apply to this method invocation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SIMPLE_ADVISOR_CHAIN_FACTORY

public static final AdvisorChainFactory SIMPLE_ADVISOR_CHAIN_FACTORY
Deprecated. 
Canonical instance of a simple AdvisorChainFactory implementation.

Constructor Detail

AdvisorChainFactoryUtils

public AdvisorChainFactoryUtils()
Deprecated. 
Method Detail

calculateInterceptorsAndDynamicInterceptionAdvice

public static List calculateInterceptorsAndDynamicInterceptionAdvice(Advised config,
                                                                     Object proxy,
                                                                     Method method,
                                                                     Class targetClass)
Deprecated. 
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 object
proxy - the proxy object
method - the proxied method
targetClass - the target class
Returns:
List of MethodInterceptors (may also include InterceptorAndDynamicMethodMatchers)
See Also:
AdvisorChainFactory

The Spring Framework

Copyright © 2002-2007 The Spring Framework.