DubboConfigBinder implementationInterface Config Bean that annotated
some annotation.DubboConfigConfigurationRegistrarReferenceAnnotationBeanPostProcessorNamePropertyDefaultValueDubboConfigBeanCustomizerCsource for BeanMetadataElementDubbo Config BeanDubboConfigBinder implementation based on Spring DataBinderApplicationListener for DubboBootstrap's lifecycle when the ContextRefreshedEvent
and ContextClosedEvent raisedClassPathBeanDefinitionScanner 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 BinderBeanPostProcessorConfigurationBeanBindingRegistrar for replacementConfigurationBeanBindingsRegister for replacementConfig ConfigurationConfig Bean BindingConfig Bean BindingConfig register, which order can be configuredlistener for the Dubbo Lifecycle componentsregister for the Dubbo Lifecycle componentsDubboComponentScan 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"
EnableConfigurationBeanBinding for replacementEnableConfigurationBeanBindings for replacementLifecycle componentsServiceBeanReferenceBean Map in injected field.ReferenceBean Map in injected method.ReferenceBeanServiceServiceBean instanceDubboConfigBeanCustomizer for the default value for the "name" property that will be taken bean name
if absent.NamespaceHandlerSupport.parse(Element, ParserContext) methodBeanPostProcessor implementation
that Consumer service Reference annotated fieldsAnnotationAttributesService Annotation
Bean Definition Registry Post Processor@Service Bean BuilderBeanMetadataElementCopyright © 2011–2019 The Apache Software Foundation. All rights reserved.