org.springframework.aop.framework.adapter

## 类 MethodBeforeAdviceInterceptor

- java.lang.Object
- - org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor

- 所有已实现的接口:
    Serializable, Advice, Interceptor, MethodInterceptor, BeforeAdvice

      public class MethodBeforeAdviceInterceptor
      extends Object
      implements MethodInterceptor, BeforeAdvice, Serializable

  Interceptor to wrap am `MethodBeforeAdvice`. Used internally by the AOP framework; application developers should not need to use this class directly.
  作者:
    Rod Johnson
  另请参阅:
    `AfterReturningAdviceInterceptor`, `ThrowsAdviceInterceptor`, 序列化表格

- - ### 构造器概要

    构造器
    构造器和说明
    `MethodBeforeAdviceInterceptor(MethodBeforeAdvice advice)` Create a new MethodBeforeAdviceInterceptor for the given advice.

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `Object` | `invoke(MethodInvocation mi)` 方法实现说明

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

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

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

    - #### MethodBeforeAdviceInterceptor

          public MethodBeforeAdviceInterceptor(MethodBeforeAdvice advice)

      Create a new MethodBeforeAdviceInterceptor for the given advice.
      参数:
        `advice` - the MethodBeforeAdvice to wrap

  - ### 方法详细资料

    - #### invoke

          public Object invoke(MethodInvocation mi)
                        throws Throwable

      从接口复制的说明: `MethodInterceptor`
      方法实现说明
      指定者:
        `invoke` 在接口中 `MethodInterceptor`
      参数:
        `mi` - 主要实现类:ReflectiveMethodInvocation
      抛出:
        `Throwable`