BeanPostProcessor implementation for customized annotation that annotated injected-object.DubboConfigBinder implementationAnnotation PropertyValues AdapterDubboConfigConfigurationRegistrarReferenceAnnotationBeanPostProcessorDubboConfigDefaultPropertyValueBeanPostProcessorNamePropertyDefaultValueDubboConfigBeanCustomizerDubboBootstrapApplicationListenerReferenceAnnotationBeanPostProcessorsource for BeanMetadataElementDubboService
and DubboReference from the specified.Dubbo 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 BinderConfig ConfigurationConfig Bean BindingConfig Bean BindingConfig register, which order can be configuredBeanPostProcessor class for the default property value of Dubbo's Config BeansApplicationEvent to trigger init DubboConfigBeanInitializer.ApplicationEvent.DubboComponentScan and EnableDubboConfig combination.EnableConfigurationBeanBinding
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"
EnvironmentConfigurableEnvironmentConfigurableEnvironmentBeanPostProcessor AdapterAnnotationAttributesAnnotationAttributesAnnotationAttributesAnnotationAttributesAnnotationAttributes, if the argument tryMergedAnnotation is true,
the AnnotationAttributes will be got from
merged annotation first,
if failed, and then to get from
normal oneAnnotationAttributes, if the argument tryMergedAnnotation is true,
the AnnotationAttributes will be got from
merged annotation first,
if failed, and then to get from
normal oneApplicationContext that the event was raised for.Annotation attributesAnnotation attributesServiceBeanDubboBootstrap instanceDubboBootstrap instanceReferenceBean Map in injected field.ReferenceBean Map in injected method.PropertySource instance.ReferenceBeanManager.getReferences() insteadServiceServiceBean instanceApplicationContextPropertiesPropertiesPropertiesPropertiesAliasRegistryset on a
BeanDefinition so that
factory beans can signal their object type when it can't be deduced from
the factory bean class.NamespaceHandlerSupport.parse(Element, ParserContext) methodReferenceAnnotationBeanPostProcessor.postProcessProperties(PropertyValues, Object, String), that removed as of Spring
Framework 6.0.0, and in favor of ReferenceAnnotationBeanPostProcessor.postProcessProperties(PropertyValues, Object, String).PropertySources UtilitiesBeanFactoryPostProcessor is to scan the registration reference bean definition earlier,
so that it can be shared with the xml bean configuration.@com.alibaba.dubbo.config.annotation.Reference has been supported since 2.7.3DubboReference
and ReferenceConfigReferenceConfig.DubboReference annotation.ReferenceConfig Creator for @DubboReferenceBeanFactoryPostProcessor used for processing of @Service annotated classes and annotated bean in java config classes.@Service Bean BuilderBeanMetadataElementannotationthe annotation attributes after merging and resolving the placeholdersCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.