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