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"
In contrast, on multiple bean bindings that requires to set EnableDubboConfig.multiple() to be true :
ApplicationConfig binding to property : "dubbo.applications"
ModuleConfig binding to property : "dubbo.modules"
RegistryConfig binding to property : "dubbo.registries"
ProtocolConfig binding to property : "dubbo.protocols"
MonitorConfig binding to property : "dubbo.monitors"
ProviderConfig binding to property : "dubbo.providers"
ConsumerConfig binding to property : "dubbo.consumers"
EnvironmentConfigurableEnvironmentConfigurableEnvironmentApplicationContext that the event was raised for.ServiceBeanDubboBootstrap instanceDubboBootstrap instanceReferenceBean Map in injected field.ReferenceBean Map in injected method.ReferenceBeanManager.getReferences() insteadServiceServiceBean instanceset 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).BeanFactoryPostProcessor 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.3
@DubboReference has been supported since 2.7.7DubboReference
and ReferenceConfigReferenceConfig.DubboReference annotation.ReferenceConfig Creator for @DubboReferenceBeanFactoryPostProcessor used for processing of @Service annotated classes and annotated bean in java config classes.@Service Bean BuilderBeanMetadataElementCopyright © 2011–2022 The Apache Software Foundation. All rights reserved.