类 AspectJProxyUtils


  • public abstract class AspectJProxyUtils
    extends Object
    Utility methods for working with AspectJ proxies.
    从以下版本开始:
    2.0
    作者:
    Rod Johnson, Ramnivas Laddad
    • 方法详细资料

      • makeAdvisorChainAspectJCapableIfNecessary

        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.
        参数:
        advisors - Advisors available
        返回:
        true if any special Advisors were added, otherwise false.