Class AspectJProxyUtils
java.lang.Object
org.springframework.aop.aspectj.AspectJProxyUtils
Utility methods for working with AspectJ proxies.
- Since:
- 2.0
- Author:
- Rod Johnson, Ramnivas Laddad, Juergen Hoeller
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic booleanmakeAdvisorChainAspectJCapableIfNecessary(List<Advisor> advisors) Add special advisors if necessary to work with a proxy chain that contains AspectJ advisors: concretely,ExposeInvocationInterceptorat the beginning of the list.
- 
Constructor Details- 
AspectJProxyUtilspublic AspectJProxyUtils()
 
- 
- 
Method Details- 
makeAdvisorChainAspectJCapableIfNecessaryAdd special advisors if necessary to work with a proxy chain that contains AspectJ advisors: concretely,ExposeInvocationInterceptorat the beginning of the list.This will expose the current Spring AOP invocation (necessary for some AspectJ pointcut matching) and make available the current AspectJ JoinPoint. The call will have no effect if there are no AspectJ advisors in the advisor chain. - Parameters:
- advisors- the advisors available
- Returns:
- trueif an- ExposeInvocationInterceptorwas added to the list, otherwise- false
 
 
-