public interface BeanDefinitionRegistryPostProcessor extends BeanFactoryPostProcessor
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.org.springframework.context.annotation.ConfigurationClassPostProcessor| Modifier and Type | Method and Description |
|---|---|
void |
postProcessBeanDefinitionRegistry(BeanDefinitionRegistry registry)
Modify the application context's internal bean definition registry after its
standard initialization.
|
postProcessBeanFactoryvoid postProcessBeanDefinitionRegistry(BeanDefinitionRegistry registry) throws BeansException
registry - the bean definition registry used by the application contextBeansException - in case of errors