org.springframework.aop.support

## 类 IntroductionInfoSupport

- java.lang.Object
- - org.springframework.aop.support.IntroductionInfoSupport

- 所有已实现的接口:
    Serializable, IntroductionInfo
  直接已知子类:
    DelegatePerTargetObjectIntroductionInterceptor, DelegatingIntroductionInterceptor

      public class IntroductionInfoSupport
      extends Object
      implements IntroductionInfo, Serializable

  Support for implementations of `IntroductionInfo`.

  Allows subclasses to conveniently add all interfaces from a given object, and to suppress interfaces that should not be added. Also allows for querying all introduced interfaces.

  作者:
    Rod Johnson, Juergen Hoeller
  另请参阅:
    序列化表格

- - ### 字段概要

    字段
    限定符和类型 | 字段和说明
    --- | ---
    `protected Set<Class<?>>` | `publishedInterfaces`

  - ### 构造器概要

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

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `Class<?>[]` | `getInterfaces()` Return the additional interfaces introduced by this Advisor or Advice.
    `protected void` | `implementInterfacesOnObject(Object delegate)` Publish all interfaces that the given delegate implements at the proxy level.
    `boolean` | `implementsInterface(Class<?> ifc)` Check whether the specified interfaces is a published introduction interface.
    `protected boolean` | `isMethodOnIntroducedInterface(MethodInvocation mi)` Is this method on an introduced interface?
    `void` | `suppressInterface(Class<?> ifc)` Suppress the specified interface, which may have been autodetected due to the delegate implementing it.

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

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

- - ### 字段详细资料

    - #### publishedInterfaces

          protected final Set<Class<?>> publishedInterfaces

  - ### 构造器详细资料

    - #### IntroductionInfoSupport

          public IntroductionInfoSupport()

  - ### 方法详细资料

    - #### suppressInterface

          public void suppressInterface(Class<?> ifc)

      Suppress the specified interface, which may have been autodetected due to the delegate implementing it. Call this method to exclude internal interfaces from being visible at the proxy level.

      Does nothing if the interface is not implemented by the delegate.

      参数:
        `ifc` - the interface to suppress

    - #### getInterfaces

          public Class<?>[] getInterfaces()

      从接口复制的说明: `IntroductionInfo`
      Return the additional interfaces introduced by this Advisor or Advice.
      指定者:
        `getInterfaces` 在接口中 `IntroductionInfo`
      返回:
        the introduced interfaces

    - #### implementsInterface

          public boolean implementsInterface(Class<?> ifc)

      Check whether the specified interfaces is a published introduction interface.
      参数:
        `ifc` - the interface to check
      返回:
        whether the interface is part of this introduction

    - #### implementInterfacesOnObject

          protected void implementInterfacesOnObject(Object delegate)

      Publish all interfaces that the given delegate implements at the proxy level.
      参数:
        `delegate` - the delegate object

    - #### isMethodOnIntroducedInterface

          protected final boolean isMethodOnIntroducedInterface(MethodInvocation mi)

      Is this method on an introduced interface?
      参数:
        `mi` - the method invocation
      返回:
        whether the invoked method is on an introduced interface