| 程序包 | 说明 |
|---|---|
| com.alibaba.dubbo.config.spring.context.annotation |
| 类和说明 |
|---|
| DubboComponentScan
Dubbo Component Scan
Annotation,scans the classpath for annotated components that will be auto-registered as
Spring beans. |
| EnableDubboConfig
As a convenient and multiple
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"
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"
|
| EnableDubboConfigBindings
Multiple
EnableDubboConfigBinding Annotation |
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.