spring-framework / org.springframework.beans.factory.support / BeanDefinitionRegistryPostProcessor / postProcessBeanDefinitionRegistry

postProcessBeanDefinitionRegistry

abstract fun postProcessBeanDefinitionRegistry(registry: BeanDefinitionRegistry): Unit

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.

Parameters

registry - the bean definition registry used by the application context

Exceptions

org.springframework.beans.BeansException - in case of errors