org.springframework.aop.support

## 类 DefaultBeanFactoryPointcutAdvisor

- java.lang.Object
- - org.springframework.aop.support.AbstractPointcutAdvisor
  - - org.springframework.aop.support.AbstractBeanFactoryPointcutAdvisor
    - - org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor

- 所有已实现的接口:
    Serializable, Advisor, PointcutAdvisor, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.core.Ordered

      public class DefaultBeanFactoryPointcutAdvisor
      extends AbstractBeanFactoryPointcutAdvisor

  Concrete BeanFactory-based PointcutAdvisor that allows for any Advice to be configured as reference to an Advice bean in the BeanFactory, as well as the Pointcut to be configured through a bean property.

  Specifying the name of an advice bean instead of the advice object itself (if running within a BeanFactory) increases loose coupling at initialization time, in order to not initialize the advice object until the pointcut actually matches.

  从以下版本开始:
    2.0.2
  作者:
    Juergen Hoeller
  另请参阅:
    `setPointcut(org.springframework.aop.Pointcut)`, `AbstractBeanFactoryPointcutAdvisor.setAdviceBeanName(java.lang.String)`, 序列化表格

- - ### 字段概要

    - ### 从接口继承的字段 org.springframework.aop.Advisor

      `EMPTY_ADVICE`

    - ### 从接口继承的字段 org.springframework.core.Ordered

      `HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE`

  - ### 构造器概要

    构造器
    构造器和说明
    `DefaultBeanFactoryPointcutAdvisor()`

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `Pointcut` | `getPointcut()` Get the Pointcut that drives this advisor.
    `void` | `setPointcut(Pointcut pointcut)` Specify the pointcut targeting the advice.
    `String` | `toString()`

    - ### 从类继承的方法 org.springframework.aop.support.AbstractBeanFactoryPointcutAdvisor

      `getAdvice, getAdviceBeanName, setAdvice, setAdviceBeanName, setBeanFactory`

    - ### 从类继承的方法 org.springframework.aop.support.AbstractPointcutAdvisor

      `equals, getOrder, hashCode, isPerInstance, setOrder`

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

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

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

    - #### DefaultBeanFactoryPointcutAdvisor

          public DefaultBeanFactoryPointcutAdvisor()

  - ### 方法详细资料

    - #### setPointcut

          public void setPointcut(@Nullable
                                  Pointcut pointcut)

      Specify the pointcut targeting the advice.

      Default is `Pointcut.TRUE`.

      另请参阅:
        `AbstractBeanFactoryPointcutAdvisor.setAdviceBeanName(java.lang.String)`

    - #### getPointcut

          public Pointcut getPointcut()

      从接口复制的说明: `PointcutAdvisor`
      Get the Pointcut that drives this advisor.

    - #### toString

          public String toString()

      覆盖:
        `toString` 在类中 `AbstractBeanFactoryPointcutAdvisor`