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

AspectJProxyUtils

abstract class AspectJProxyUtils

Utility methods for working with AspectJ proxies.

Author
Rod Johnson

Author
Ramnivas Laddad

Since
2.0

Constructors

<init>

AspectJProxyUtils()

Utility methods for working with AspectJ proxies.

Functions

makeAdvisorChainAspectJCapableIfNecessary

open static fun makeAdvisorChainAspectJCapableIfNecessary(advisors: MutableList<Advisor>): Boolean

Add special advisors if necessary to work with a proxy chain that contains AspectJ advisors. This will expose the current Spring 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.