DubboConfigBinder implementationBeanDefinition UtilitiesInterface Config Bean that annotated
some annotation.BeanPostProcessor implementation for customized annotation that annotated injected-object.DubboConfigConfigurationRegistrarReferenceAnnotationBeanPostProcessorNamePropertyDefaultValueDubboConfigBeanCustomizerBeanFactory Utilities classCDubbo Config BeanDubboConfigBinder implementation based on Spring DataBinderClassPathBeanDefinitionScanner that exposes some methods to be public.Annotation,scans the classpath for annotated components that will be auto-registered as
Spring beans.DubboComponentScan Bean RegistrarAbstractConfig.getId()Dubbo Config.DubboConfig BinderBeanPostProcessorDubbo Config binding Bean registrarDubbo Config binding Bean registrar for EnableDubboConfigBindingsConfig ConfigurationConfig Bean BindingConfig Bean BindingConfig register, which order can be configuredDubboComponentScan and EnableDubboConfig combination.EnableDubboConfigBinding
in default behavior , is equal to single bean bindings with below convention prefixes of properties:
ApplicationConfig binding to property : "dubbo.application"
ModuleConfig binding to property : "dubbo.module"
RegistryConfig binding to property : "dubbo.registry"
ProtocolConfig binding to property : "dubbo.protocol"
MonitorConfig binding to property : "dubbo.monitor"
ProviderConfig binding to property : "dubbo.provider"
ConsumerConfig binding to property : "dubbo.consumer"
Dubbo Config from properties.EnableDubboConfigBinding AnnotationAnnotation attributesServiceBeanBeanFactoryReferenceBean Map in injected field.ReferenceBean Map in injected method.the annotation attributes after merging and resolving the placeholdersPropertiesPropertiesReferenceBeanServiceServiceBean instanceAliasRegistryDubboConfigBeanCustomizer for the default value for the "name" property that will be taken bean name
if absent.PropertySources UtilitiesBeanPostProcessor implementation
that Consumer service Reference annotated fieldsregistryAnnotationAttributesService Annotation
Bean Definition Registry Post Processor@Service Bean BuilderCopyright © 2011–2019 The Apache Software Foundation. All rights reserved.