public abstract class

AspectJProxyUtils

extends Object
java.lang.Object
   ↳ org.springframework.aop.aspectj.AspectJProxyUtils

Class Overview

Utility methods for working with AspectJ proxies.

Summary

Public Constructors
AspectJProxyUtils()
Public Methods
static boolean makeAdvisorChainAspectJCapableIfNecessary(List<Advisor> advisors)
Add special advisors if necessary to work with a proxy chain that contains AspectJ advisors.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public AspectJProxyUtils ()

Public Methods

public static boolean makeAdvisorChainAspectJCapableIfNecessary (List<Advisor> advisors)

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.

Parameters
advisors Advisors available
Returns
  • true if any special Advisors were added, otherwise false.