Top Description Constructors Methods
org.springframework.aop.aspectj

public abstract Class AspectJAopUtils

extends Object
Class Inheritance
Imports
org.aopalliance.aop.Advice, org.springframework.aop.Advisor, .AfterAdvice, .BeforeAdvice, org.springframework.lang.Nullable

Utility methods for dealing with AspectJ advisors.
Authors
Adrian Colyer, Juergen Hoeller
Since
2.0

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static AspectJPrecedenceInformation
getAspectJPrecedenceInformationFor(Advisor anAdvisor)

Return the AspectJPrecedenceInformation provided by this advisor or its advice.

public static boolean
isAfterAdvice(Advisor anAdvisor)

Return true if the advisor is a form of after advice.

public static boolean
isBeforeAdvice(Advisor anAdvisor)

Return true if the advisor is a form of before advice.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

AspectJAopUtilsback to summary
public AspectJAopUtils()

Method Detail

getAspectJPrecedenceInformationForback to summary
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 return null.

Annotations
@Nullable
isAfterAdviceback to summary
public static boolean isAfterAdvice(Advisor anAdvisor)

Return true if the advisor is a form of after advice.

isBeforeAdviceback to summary
public static boolean isBeforeAdvice(Advisor anAdvisor)

Return true if the advisor is a form of before advice.