@ConditionalOnProperty(prefix="dubbo",
name="enabled",
matchIfMissing=true)
@Configuration
@EnableConfigurationProperties(value=DubboConfigurationProperties.class)
@EnableDubboConfig
public class DubboAutoConfiguration
extends Object
implements org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor
ConfigurationDubboReference,
DubboService,
ServiceClassPostProcessor,
ReferenceAnnotationBeanPostProcessor| 构造器和说明 |
|---|
DubboAutoConfiguration() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
postProcessBeanDefinitionRegistry(org.springframework.beans.factory.support.BeanDefinitionRegistry registry) |
void |
postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) |
org.apache.dubbo.config.spring.beans.factory.annotation.ServiceClassPostProcessor |
serviceClassPostProcessor(Set<String> packagesToScan)
Creates
ServiceClassPostProcessor Bean |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
@ConditionalOnProperty(prefix="dubbo.scan.",
name="base-packages")
@ConditionalOnBean(name="dubbo-service-class-base-packages")
@Bean
public org.apache.dubbo.config.spring.beans.factory.annotation.ServiceClassPostProcessor serviceClassPostProcessor(@Qualifier(value="dubbo-service-class-base-packages")
Set<String> packagesToScan)
ServiceClassPostProcessor BeanpackagesToScan - the packages to scanServiceClassPostProcessorpublic void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext 在接口中 org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic 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.BeansExceptionCopyright © 2020 The Apache Software Foundation. All rights reserved.