类 BeanFactoryAdvisorRetriever

java.lang.Object
cn.taketoday.aop.framework.autoproxy.BeanFactoryAdvisorRetriever

public class BeanFactoryAdvisorRetriever extends Object
Helper for retrieving standard Framework Advisors from a BeanFactory, for use with auto-proxying.
从以下版本开始:
4.0
作者:
Juergen Hoeller, Harry Yang
另请参阅:
  • 构造器详细资料

    • BeanFactoryAdvisorRetriever

      public BeanFactoryAdvisorRetriever(ConfigurableBeanFactory beanFactory)
      Create a new BeanFactoryAdvisorRetrievalHelper for the given BeanFactory.
      参数:
      beanFactory - the BeanFactory to scan
  • 方法详细资料

    • retrieveAdvisorBeans

      public List<Advisor> retrieveAdvisorBeans()
      Find all eligible Advisor beans in the current bean factory, ignoring FactoryBeans and excluding beans that are currently in creation.
      返回:
      the list of Advisor beans
      另请参阅:
    • isEligibleBean

      protected boolean isEligibleBean(String beanName)
      Determine whether the aspect bean with the given name is eligible.

      The default implementation always returns true.

      参数:
      beanName - the name of the aspect bean
      返回:
      whether the bean is eligible