org.springframework.beans.factory.support

## 接口 BeanDefinitionRegistryPostProcessor

- 所有超级接口:
    BeanFactoryPostProcessor

      public interface BeanDefinitionRegistryPostProcessor
      extends BeanFactoryPostProcessor

  Extension to the standard `BeanFactoryPostProcessor` SPI, allowing for the registration of further bean definitions before regular BeanFactoryPostProcessor detection kicks in. In particular, BeanDefinitionRegistryPostProcessor may register further bean definitions which in turn define BeanFactoryPostProcessor instances.
  从以下版本开始:
    3.0.1
  作者:
    Juergen Hoeller
  另请参阅:
    `org.springframework.context.annotation.ConfigurationClassPostProcessor`

- - ### 方法概要

    所有方法 实例方法 抽象方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | `postProcessBeanDefinitionRegistry(BeanDefinitionRegistry registry)` Modify the application context's internal bean definition registry after its standard initialization.

    - ### 从接口继承的方法 org.springframework.beans.factory.config.BeanFactoryPostProcessor

      `postProcessBeanFactory`

- - ### 方法详细资料

    - #### postProcessBeanDefinitionRegistry

          void postProcessBeanDefinitionRegistry(BeanDefinitionRegistry registry)
                                          throws BeansException

      Modify the application context's internal bean definition registry after its standard initialization. All regular bean definitions will have been loaded, but no beans will have been instantiated yet. This allows for adding further bean definitions before the next post-processing phase kicks in.
      参数:
        `registry` - the bean definition registry used by the application context
      抛出:
        `BeansException` - in case of errors