接口 BeanDefinitionRegistryPostProcessor

    • 方法详细资料

      • 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