org.springframework.aop.framework
Class AdvisorChainFactoryUtils
java.lang.Object
org.springframework.aop.framework.AdvisorChainFactoryUtils
- public abstract class AdvisorChainFactoryUtils
- extends java.lang.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
AdvisedSupport object.
- Version:
- $Id: AdvisorChainFactoryUtils.java,v 1.7 2004/03/18 02:46:05 trisberg Exp $
- Author:
- Rod Johnson
Method Summary |
static java.util.List |
calculateInterceptorsAndDynamicInterceptionAdvice(Advised config,
java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.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 |
SIMPLE_ADVISOR_CHAIN_FACTORY
public static AdvisorChainFactory SIMPLE_ADVISOR_CHAIN_FACTORY
AdvisorChainFactoryUtils
public AdvisorChainFactoryUtils()
calculateInterceptorsAndDynamicInterceptionAdvice
public static java.util.List calculateInterceptorsAndDynamicInterceptionAdvice(Advised config,
java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Class targetClass)
- Return the static interceptors and dynamic interception advice that may apply
to this method invocation.
- Parameters:
config
- proxy
- method
- targetClass
-
- 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.