Package org.springframework.aop.aspectj
Class AspectJAopUtils
java.lang.Object
org.springframework.aop.aspectj.AspectJAopUtils
Utility methods for dealing with AspectJ advisors.
- Since:
- 2.0
- Author:
- Adrian Colyer, Juergen Hoeller
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAspectJPrecedenceInformationFor
(Advisor anAdvisor) Return the AspectJPrecedenceInformation provided by this advisor or its advice.static boolean
isAfterAdvice
(Advisor anAdvisor) Returntrue
if the advisor is a form of after advice.static boolean
isBeforeAdvice
(Advisor anAdvisor) Returntrue
if the advisor is a form of before advice.
-
Constructor Details
-
AspectJAopUtils
public AspectJAopUtils()
-
-
Method Details
-
isBeforeAdvice
Returntrue
if the advisor is a form of before advice. -
isAfterAdvice
Returntrue
if the advisor is a form of after advice. -
getAspectJPrecedenceInformationFor
public static @Nullable 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
.
-