public class DubboConfigEarlyInitializationPostProcessor extends com.alibaba.spring.beans.factory.config.GenericBeanPostProcessorAdapter<AbstractConfig> implements org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor, org.springframework.core.PriorityOrdered
Dubbo Config Bean will be added into ConfigManager on the bean initialization
life cycle through CommonAnnotationBeanPostProcessor executing the callback of
@PostConstruct. However, the instantiation and initialization of
Dubbo Config Bean could be too early before CommonAnnotationBeanPostProcessor, e.g,
execution, thus it's required to register the current instance as a BeanPostProcessor into
the BeanFatory using BeanDefinitionRegistryPostProcessor as early as
possible.GenericBeanPostProcessorAdapter| 构造器和说明 |
|---|
DubboConfigEarlyInitializationPostProcessor() |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getOrder() |
void |
postProcessBeanDefinitionRegistry(org.springframework.beans.factory.support.BeanDefinitionRegistry registry) |
void |
postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) |
public DubboConfigEarlyInitializationPostProcessor()
public void postProcessBeanDefinitionRegistry(org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
throws org.springframework.beans.BeansException
postProcessBeanDefinitionRegistry 在接口中 org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessororg.springframework.beans.BeansExceptionpublic void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
throws org.springframework.beans.BeansException
postProcessBeanFactory 在接口中 org.springframework.beans.factory.config.BeanFactoryPostProcessororg.springframework.beans.BeansExceptionpublic int getOrder()
getOrder 在接口中 org.springframework.core.OrderedCopyright © 2011–2021 The Apache Software Foundation. All rights reserved.