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 |
|---|---|
| public void | postProcessBeanDefinitionRegistry(BeanDefinitionRegistry
the bean definition registry used by the application context registry)Modify the application context's internal bean definition registry after its standard initialization. |
| public default void | postProcessBeanFactory(ConfigurableListableBeanFactory
the bean factory used by the application context beanFactory)Implements org. BeanFactoryPostProcessor#postProcessBeanFactory
since custom BeanDefinitionRegistryPostProcessor implementations will
typically only provide a postProcessBeanDefinitionRegistry method.
|
| postProcessBeanDefinitionRegistry | back to summary |
|---|---|
| public 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.
| |
| postProcessBeanFactory | back to summary |
|---|---|
| public default void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) throws BeansException Implements org. Empty implementation of
| |