org.springframework.aop.support

## 类 AbstractGenericPointcutAdvisor

- java.lang.Object
- - org.springframework.aop.support.AbstractPointcutAdvisor
  - - org.springframework.aop.support.AbstractGenericPointcutAdvisor

- 所有已实现的接口:
    Serializable, Advisor, PointcutAdvisor, org.springframework.core.Ordered
  直接已知子类:
    AspectJExpressionPointcutAdvisor, DefaultPointcutAdvisor, NameMatchMethodPointcutAdvisor, RegexpMethodPointcutAdvisor

      public abstract class AbstractGenericPointcutAdvisor
      extends AbstractPointcutAdvisor

  Abstract generic `PointcutAdvisor` that allows for any `Advice` to be configured.
  从以下版本开始:
    2.0
  作者:
    Juergen Hoeller
  另请参阅:
    `setAdvice(org.aopalliance.aop.Advice)`, `DefaultPointcutAdvisor`, 序列化表格

- - ### 字段概要

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

      `EMPTY_ADVICE`

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

      `HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE`

  - ### 构造器概要

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

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `Advice` | `getAdvice()` Return the advice part of this aspect.
    `void` | `setAdvice(Advice advice)` Specify the advice that this advisor should apply.
    `String` | `toString()`

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

      `equals, getOrder, hashCode, isPerInstance, setOrder`

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

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

    - ### 从接口继承的方法 org.springframework.aop.PointcutAdvisor

      `getPointcut`

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

    - #### AbstractGenericPointcutAdvisor

          public AbstractGenericPointcutAdvisor()

  - ### 方法详细资料

    - #### setAdvice

          public void setAdvice(Advice advice)

      Specify the advice that this advisor should apply.

    - #### getAdvice

          public Advice getAdvice()

      从接口复制的说明: `Advisor`
      Return the advice part of this aspect. An advice may be an interceptor, a before advice, a throws advice, etc.
      返回:
        the advice that should apply if the pointcut matches
      另请参阅:
        `MethodInterceptor`, `BeforeAdvice`, `ThrowsAdvice`, `AfterReturningAdvice`

    - #### toString

          public String toString()

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