org.springframework.aop.framework
Class AdvisorChainFactoryUtils

java.lang.Object
  extended byorg.springframework.aop.framework.AdvisorChainFactoryUtils

public abstract class AdvisorChainFactoryUtils
extends Object

Utility methods for use by AdviceChainFactory implementations.

The calculateInterceptorsAndDynamicInterceptionAdvice method is the definitive way of working out an advice chain for a Method, given an Advised object.

Author:
Rod Johnson

Field Summary
static AdvisorChainFactory SIMPLE_ADVISOR_CHAIN_FACTORY
           
 
Constructor Summary
AdvisorChainFactoryUtils()
           
 
Method Summary
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.
 
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
Constructor Detail

AdvisorChainFactoryUtils

public AdvisorChainFactoryUtils()
Method Detail

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.

Returns:
list of MethodInterceptor and InterceptionAdvice (if there's a dynamic method matcher that needs evaluation at runtime)


Copyright (C) 2003-2004 The Spring Framework Project.