class PostProcessorRegistrationDelegate
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
private static class |
PostProcessorRegistrationDelegate.ApplicationListenerDetector
BeanPostProcessor that detects beans which implement the ApplicationListener
interface. |
private static class |
PostProcessorRegistrationDelegate.BeanPostProcessorChecker
BeanPostProcessor that logs an info message when a bean is created during
BeanPostProcessor instantiation, i.e.
|
Constructor and Description |
---|
PostProcessorRegistrationDelegate() |
Modifier and Type | Method and Description |
---|---|
private static void |
invokeBeanDefinitionRegistryPostProcessors(java.util.Collection<? extends BeanDefinitionRegistryPostProcessor> postProcessors,
BeanDefinitionRegistry registry)
Invoke the given BeanDefinitionRegistryPostProcessor beans.
|
private static void |
invokeBeanFactoryPostProcessors(java.util.Collection<? extends BeanFactoryPostProcessor> postProcessors,
ConfigurableListableBeanFactory beanFactory)
Invoke the given BeanFactoryPostProcessor beans.
|
static void |
invokeBeanFactoryPostProcessors(ConfigurableListableBeanFactory beanFactory,
java.util.List<BeanFactoryPostProcessor> beanFactoryPostProcessors) |
static void |
registerBeanPostProcessors(ConfigurableListableBeanFactory beanFactory,
AbstractApplicationContext applicationContext) |
private static void |
registerBeanPostProcessors(ConfigurableListableBeanFactory beanFactory,
java.util.List<BeanPostProcessor> postProcessors)
Register the given BeanPostProcessor beans.
|
private static void |
sortPostProcessors(ConfigurableListableBeanFactory beanFactory,
java.util.List<?> postProcessors) |
public static void invokeBeanFactoryPostProcessors(ConfigurableListableBeanFactory beanFactory, java.util.List<BeanFactoryPostProcessor> beanFactoryPostProcessors)
public static void registerBeanPostProcessors(ConfigurableListableBeanFactory beanFactory, AbstractApplicationContext applicationContext)
private static void sortPostProcessors(ConfigurableListableBeanFactory beanFactory, java.util.List<?> postProcessors)
private static void invokeBeanDefinitionRegistryPostProcessors(java.util.Collection<? extends BeanDefinitionRegistryPostProcessor> postProcessors, BeanDefinitionRegistry registry)
private static void invokeBeanFactoryPostProcessors(java.util.Collection<? extends BeanFactoryPostProcessor> postProcessors, ConfigurableListableBeanFactory beanFactory)
private static void registerBeanPostProcessors(ConfigurableListableBeanFactory beanFactory, java.util.List<BeanPostProcessor> postProcessors)