类 DubboConfigEarlyInitializationPostProcessor

  • 所有已实现的接口:
    org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor, org.springframework.core.Ordered, org.springframework.core.PriorityOrdered

    public class DubboConfigEarlyInitializationPostProcessor
    extends com.alibaba.spring.beans.factory.config.GenericBeanPostProcessorAdapter<AbstractConfig>
    implements org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor, org.springframework.core.PriorityOrdered
    Generally, 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.
    从以下版本开始:
    2.7.9
    另请参阅:
    GenericBeanPostProcessorAdapter
    • 构造器详细资料

      • DubboConfigEarlyInitializationPostProcessor

        public DubboConfigEarlyInitializationPostProcessor()
    • 方法详细资料

      • 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