类 AspectJAopUtils
- java.lang.Object
- org.springframework.aop.aspectj.AspectJAopUtils
public abstract class AspectJAopUtils extends Object
Utility methods for dealing with AspectJ advisors.- 从以下版本开始:
- 2.0
- 作者:
- Adrian Colyer, Juergen Hoeller
构造器概要
构造器 构造器 说明 AspectJAopUtils()
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static AspectJPrecedenceInformationgetAspectJPrecedenceInformationFor(Advisor anAdvisor)Return the AspectJPrecedenceInformation provided by this advisor or its advice.static booleanisAfterAdvice(Advisor anAdvisor)Returntrueif the advisor is a form of after advice.static booleanisBeforeAdvice(Advisor anAdvisor)Returntrueif the advisor is a form of before advice.
构造器详细资料
AspectJAopUtils
public AspectJAopUtils()
方法详细资料
isBeforeAdvice
public static boolean isBeforeAdvice(Advisor anAdvisor)
Returntrueif the advisor is a form of before advice.
isAfterAdvice
public static boolean isAfterAdvice(Advisor anAdvisor)
Returntrueif the advisor is a form of after advice.
getAspectJPrecedenceInformationFor
public static AspectJPrecedenceInformation getAspectJPrecedenceInformationFor(Advisor anAdvisor)
Return the AspectJPrecedenceInformation provided by this advisor or its advice. If neither the advisor nor the advice have precedence information, this method will returnnull.