org.springframework.aop.framework.adapter

## 类 AdvisorAdapterRegistrationManager

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

- 所有已实现的接口:
    org.springframework.beans.factory.config.BeanPostProcessor

      public class AdvisorAdapterRegistrationManager
      extends Object
      implements org.springframework.beans.factory.config.BeanPostProcessor

  BeanPostProcessor that registers `AdvisorAdapter` beans in the BeanFactory with an `AdvisorAdapterRegistry` (by default the `GlobalAdvisorAdapterRegistry`).

  The only requirement for it to work is that it needs to be defined in application context along with "non-native" Spring AdvisorAdapters that need to be "recognized" by Spring's AOP framework.

  从以下版本开始:
    27.02.2004
  作者:
    Dmitriy Kopylenko, Juergen Hoeller
  另请参阅:
    `setAdvisorAdapterRegistry(org.springframework.aop.framework.adapter.AdvisorAdapterRegistry)`, `AdvisorAdapter`

- - ### 构造器概要

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

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `Object` | `postProcessAfterInitialization(Object bean, String beanName)`
    `Object` | `postProcessBeforeInitialization(Object bean, String beanName)`
    `void` | `setAdvisorAdapterRegistry(AdvisorAdapterRegistry advisorAdapterRegistry)` Specify the AdvisorAdapterRegistry to register AdvisorAdapter beans with.

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

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

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

    - #### AdvisorAdapterRegistrationManager

          public AdvisorAdapterRegistrationManager()

  - ### 方法详细资料

    - #### setAdvisorAdapterRegistry

          public void setAdvisorAdapterRegistry(AdvisorAdapterRegistry advisorAdapterRegistry)

      Specify the AdvisorAdapterRegistry to register AdvisorAdapter beans with. Default is the global AdvisorAdapterRegistry.
      另请参阅:
        `GlobalAdvisorAdapterRegistry`

    - #### postProcessBeforeInitialization

          public Object postProcessBeforeInitialization(Object bean,
                                                        String beanName)
                                                 throws org.springframework.beans.BeansException

      指定者:
        `postProcessBeforeInitialization` 在接口中 `org.springframework.beans.factory.config.BeanPostProcessor`
      抛出:
        `org.springframework.beans.BeansException`

    - #### postProcessAfterInitialization

          public Object postProcessAfterInitialization(Object bean,
                                                       String beanName)
                                                throws org.springframework.beans.BeansException

      指定者:
        `postProcessAfterInitialization` 在接口中 `org.springframework.beans.factory.config.BeanPostProcessor`
      抛出:
        `org.springframework.beans.BeansException`