类 AspectJProxyUtils
java.lang.Object
infra.aop.aspectj.AspectJProxyUtils
Utility methods for working with AspectJ proxies.
- 从以下版本开始:
- 4.0
- 作者:
- Rod Johnson, Ramnivas Laddad, Juergen Hoeller
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private static booleanisAspectJAdvice(Advisor advisor) Determine whether the given Advisor contains an AspectJ advice.(专用程序包) static booleanisVariableName(String name) static 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.
-
构造器详细资料
-
AspectJProxyUtils
public AspectJProxyUtils()
-
-
方法详细资料
-
makeAdvisorChainAspectJCapableIfNecessary
Add 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 Framework 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.
- 参数:
advisors- the advisors available- 返回:
trueif anExposeInvocationInterceptorwas added to the list, otherwisefalse
-
isAspectJAdvice
Determine whether the given Advisor contains an AspectJ advice.- 参数:
advisor- the Advisor to check
-
isVariableName
-