类 DubboConfigEarlyRegistrationPostProcessor
- java.lang.Object
-
- org.apache.dubbo.config.spring.beans.factory.config.DubboConfigEarlyRegistrationPostProcessor
-
- 所有已实现的接口:
org.springframework.beans.factory.config.BeanFactoryPostProcessor,org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor,org.springframework.core.Ordered,org.springframework.core.PriorityOrdered
public class DubboConfigEarlyRegistrationPostProcessor extends Object implements org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor, org.springframework.core.PriorityOrdered
Generally,Dubbo ConfigBean will be added intoConfigManageron the bean initialization life cycle throughCommonAnnotationBeanPostProcessorexecuting the callback of@PostConstruct. However, the instantiation and initialization ofDubbo ConfigBean could be too early beforeCommonAnnotationBeanPostProcessor, e.g, execution, thus it's required to register theDubboConfigEarlyInitializationPostProcessorinstance as aBeanPostProcessorintothe BeanFatoryusingBeanDefinitionRegistryPostProcessoras early as possible.- 从以下版本开始:
- 2.7.15
- 作者:
- chenjh
- 另请参阅:
DubboConfigEarlyRegistrationPostProcessor.DubboConfigEarlyInitializationPostProcessor
-
-
构造器概要
构造器 构造器 说明 DubboConfigEarlyRegistrationPostProcessor()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 intgetOrder()voidpostProcessBeanDefinitionRegistry(org.springframework.beans.factory.support.BeanDefinitionRegistry registry)voidpostProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
-
-
-
方法详细资料
-
postProcessBeanDefinitionRegistry
public void postProcessBeanDefinitionRegistry(org.springframework.beans.factory.support.BeanDefinitionRegistry registry) throws org.springframework.beans.BeansException- 指定者:
postProcessBeanDefinitionRegistry在接口中org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor- 抛出:
org.springframework.beans.BeansException
-
postProcessBeanFactory
public void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) throws org.springframework.beans.BeansException- 指定者:
postProcessBeanFactory在接口中org.springframework.beans.factory.config.BeanFactoryPostProcessor- 抛出:
org.springframework.beans.BeansException
-
getOrder
public int getOrder()
- 指定者:
getOrder在接口中org.springframework.core.Ordered
-
-