类 DubboAutoConfiguration

  • 所有已实现的接口:
    org.springframework.beans.factory.Aware, org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor, org.springframework.context.ApplicationContextAware

    @ConditionalOnProperty(prefix="dubbo",
                           name="enabled",
                           matchIfMissing=true)
    @Configuration
    @EnableConfigurationProperties(DubboConfigurationProperties.class)
    @EnableDubboConfig
    public class DubboAutoConfiguration
    extends Object
    implements org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor
    Dubbo Auto Configuration
    从以下版本开始:
    2.7.0
    另请参阅:
    DubboReference, DubboService, ServiceClassPostProcessor, ReferenceAnnotationBeanPostProcessor
    • 构造器详细资料

      • DubboAutoConfiguration

        public DubboAutoConfiguration()
    • 方法详细资料

      • serviceClassPostProcessor

        @ConditionalOnProperty(prefix="dubbo.scan.",
                               name="base-packages")
        @ConditionalOnBean(name="dubbo-service-class-base-packages")
        @ConditionalOnMissingBean
        @Bean
        public ServiceClassPostProcessor serviceClassPostProcessor​(@Qualifier("dubbo-service-class-base-packages")
                                                                   Set<String> packagesToScan)
        参数:
        packagesToScan - the packages to scan
        返回:
        ServiceClassPostProcessor
      • setApplicationContext

        public void setApplicationContext​(org.springframework.context.ApplicationContext applicationContext)
                                   throws org.springframework.beans.BeansException
        指定者:
        setApplicationContext 在接口中 org.springframework.context.ApplicationContextAware
        抛出:
        org.springframework.beans.BeansException
      • 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