org.springframework.aop.support

## 类 StaticMethodMatcherPointcutAdvisor

- java.lang.Object
- - org.springframework.aop.support.StaticMethodMatcher
  - - org.springframework.aop.support.StaticMethodMatcherPointcut
    - - org.springframework.aop.support.StaticMethodMatcherPointcutAdvisor

- 所有已实现的接口:
    Serializable, Advisor, MethodMatcher, Pointcut, PointcutAdvisor, org.springframework.core.Ordered

      public abstract class StaticMethodMatcherPointcutAdvisor
      extends StaticMethodMatcherPointcut
      implements PointcutAdvisor, org.springframework.core.Ordered, Serializable

  Convenient base class for Advisors that are also static pointcuts. Serializable if Advice and subclass are.
  作者:
    Rod Johnson, Juergen Hoeller
  另请参阅:
    序列化表格

- - ### 字段概要

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

      `EMPTY_ADVICE`

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

      `HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE`

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

      `TRUE`

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

      `TRUE`

  - ### 构造器概要

    构造器
    构造器和说明
    `StaticMethodMatcherPointcutAdvisor()` Create a new StaticMethodMatcherPointcutAdvisor, expecting bean-style configuration.
    `StaticMethodMatcherPointcutAdvisor(Advice advice)` Create a new StaticMethodMatcherPointcutAdvisor for the given advice.

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `Advice` | `getAdvice()` Return the advice part of this aspect.
    `int` | `getOrder()`
    `Pointcut` | `getPointcut()` Get the Pointcut that drives this advisor.
    `boolean` | `isPerInstance()` Return whether this advice is associated with a particular instance (for example, creating a mixin) or shared with all instances of the advised class obtained from the same Spring bean factory.
    `void` | `setAdvice(Advice advice)`
    `void` | `setOrder(int order)`

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

      `getClassFilter, getMethodMatcher, setClassFilter`

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

      `isRuntime, matches`

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

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

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

      `matches`

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

    - #### StaticMethodMatcherPointcutAdvisor

          public StaticMethodMatcherPointcutAdvisor()

      Create a new StaticMethodMatcherPointcutAdvisor, expecting bean-style configuration.
      另请参阅:
        `setAdvice(org.aopalliance.aop.Advice)`

    - #### StaticMethodMatcherPointcutAdvisor

          public StaticMethodMatcherPointcutAdvisor(Advice advice)

      Create a new StaticMethodMatcherPointcutAdvisor for the given advice.
      参数:
        `advice` - the Advice to use

  - ### 方法详细资料

    - #### setOrder

          public void setOrder(int order)

    - #### getOrder

          public int getOrder()

      指定者:
        `getOrder` 在接口中 `org.springframework.core.Ordered`

    - #### setAdvice

          public void setAdvice(Advice advice)

    - #### 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.
      指定者:
        `getAdvice` 在接口中 `Advisor`
      返回:
        the advice that should apply if the pointcut matches
      另请参阅:
        `MethodInterceptor`, `BeforeAdvice`, `ThrowsAdvice`, `AfterReturningAdvice`

    - #### isPerInstance

          public boolean isPerInstance()

      从接口复制的说明: `Advisor`
      Return whether this advice is associated with a particular instance (for example, creating a mixin) or shared with all instances of the advised class obtained from the same Spring bean factory.

      Note that this method is not currently used by the framework. Typical Advisor implementations always return `true`. Use singleton/prototype bean definitions or appropriate programmatic proxy creation to ensure that Advisors have the correct lifecycle model.

      指定者:
        `isPerInstance` 在接口中 `Advisor`
      返回:
        whether this advice is associated with a particular target instance

    - #### getPointcut

          public Pointcut getPointcut()

      从接口复制的说明: `PointcutAdvisor`
      Get the Pointcut that drives this advisor.
      指定者:
        `getPointcut` 在接口中 `PointcutAdvisor`