org.springframework.aop.aspectj.annotation

## 类 BeanFactoryAspectJAdvisorsBuilder

- java.lang.Object
- - org.springframework.aop.aspectj.annotation.BeanFactoryAspectJAdvisorsBuilder

-     public class BeanFactoryAspectJAdvisorsBuilder
      extends Object

  Helper for retrieving @AspectJ beans from a BeanFactory and building Spring Advisors based on them, for use with auto-proxying.
  从以下版本开始:
    2.0.2
  作者:
    Juergen Hoeller
  另请参阅:
    `AnnotationAwareAspectJAutoProxyCreator`

- - ### 构造器概要

    构造器
    构造器和说明
    `BeanFactoryAspectJAdvisorsBuilder(org.springframework.beans.factory.ListableBeanFactory beanFactory)` Create a new BeanFactoryAspectJAdvisorsBuilder for the given BeanFactory.
    `BeanFactoryAspectJAdvisorsBuilder(org.springframework.beans.factory.ListableBeanFactory beanFactory, AspectJAdvisorFactory advisorFactory)` Create a new BeanFactoryAspectJAdvisorsBuilder for the given BeanFactory.

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `List<Advisor>` | `buildAspectJAdvisors()` 去容器中获取到所有的切面信息保存到缓存中
    `protected boolean` | `isEligibleBean(String beanName)` Return whether the aspect bean with the given name is eligible.

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 构造器详细资料

    - #### BeanFactoryAspectJAdvisorsBuilder

          public BeanFactoryAspectJAdvisorsBuilder(org.springframework.beans.factory.ListableBeanFactory beanFactory)

      Create a new BeanFactoryAspectJAdvisorsBuilder for the given BeanFactory.
      参数:
        `beanFactory` - the ListableBeanFactory to scan

    - #### BeanFactoryAspectJAdvisorsBuilder

          public BeanFactoryAspectJAdvisorsBuilder(org.springframework.beans.factory.ListableBeanFactory beanFactory,
                                                   AspectJAdvisorFactory advisorFactory)

      Create a new BeanFactoryAspectJAdvisorsBuilder for the given BeanFactory.
      参数:
        `beanFactory` - the ListableBeanFactory to scan
        `advisorFactory` - the AspectJAdvisorFactory to build each Advisor with

  - ### 方法详细资料

    - #### buildAspectJAdvisors

          public List<Advisor> buildAspectJAdvisors()

      去容器中获取到所有的切面信息保存到缓存中
      返回:
        the list of `Advisor` beans
      另请参阅:
        `isEligibleBean(java.lang.String)`

    - #### isEligibleBean

          protected boolean isEligibleBean(String beanName)

      Return whether the aspect bean with the given name is eligible.
      参数:
        `beanName` - the name of the aspect bean
      返回:
        whether the bean is eligible