站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Spring Framework 2.1.0 API 文档英文版

AspectJProxyUtils (Spring Framework API 2.1) - Spring Framework 2.1.0 API 文档英文版


The Spring Framework

org.springframework.aop.aspectj
Class AspectJProxyUtils

java.lang.Object
  extended by org.springframework.aop.aspectj.AspectJProxyUtils

public abstract class AspectJProxyUtils
extends Object

Utility methods for working with AspectJ proxies.

Since:
2.0
Author:
Rod Johnson

Constructor Summary
AspectJProxyUtils()
           
 
Method Summary
static boolean makeAdvisorChainAspectJCapableIfNecessary(List advisors)
          Add special advisors if necessary to work with a proxy chain that contains AspectJ advisors.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AspectJProxyUtils

public AspectJProxyUtils()
Method Detail

makeAdvisorChainAspectJCapableIfNecessary

public static boolean makeAdvisorChainAspectJCapableIfNecessary(List 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.

The Spring Framework

Copyright © 2002-2007 The Spring Framework.