spring-framework / org.springframework.aop.aspectj / AspectJAopUtils

AspectJAopUtils

abstract class AspectJAopUtils

Utility methods for dealing with AspectJ advisors.

Author
Adrian Colyer

Author
Juergen Hoeller

Since
2.0

Constructors

<init>

AspectJAopUtils()

Utility methods for dealing with AspectJ advisors.

Functions

getAspectJPrecedenceInformationFor

open static fun getAspectJPrecedenceInformationFor(anAdvisor: Advisor): AspectJPrecedenceInformation

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.

isAfterAdvice

open static fun isAfterAdvice(anAdvisor: Advisor): Boolean

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

isBeforeAdvice

open static fun isBeforeAdvice(anAdvisor: Advisor): Boolean

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