类 DubboAutoConfiguration
- java.lang.Object
-
- org.apache.dubbo.spring.boot.autoconfigure.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.BeanDefinitionRegistryPostProcessorDubbo AutoConfiguration- 从以下版本开始:
- 2.7.0
- 另请参阅:
DubboReference,DubboService,ServiceClassPostProcessor,ReferenceAnnotationBeanPostProcessor
-
-
构造器概要
构造器 构造器 说明 DubboAutoConfiguration()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidpostProcessBeanDefinitionRegistry(org.springframework.beans.factory.support.BeanDefinitionRegistry registry)voidpostProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)ServiceClassPostProcessorserviceClassPostProcessor(Set<String> packagesToScan)CreatesServiceClassPostProcessorBeanvoidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)
-
-
-
方法详细资料
-
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)CreatesServiceClassPostProcessorBean- 参数:
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
-
-