| 程序包 | 说明 |
|---|---|
| org.apache.dubbo.common.config | |
| org.apache.dubbo.config | |
| org.apache.dubbo.config.bootstrap.builders |
A bunch of builder classes to facilitate programming of raw API.
|
| org.apache.dubbo.config.context | |
| org.apache.dubbo.config.spring | |
| org.apache.dubbo.config.spring.context.config | |
| org.apache.dubbo.config.spring.context.properties |
| 限定符和类型 | 方法和说明 |
|---|---|
CompositeConfiguration |
Environment.getPrefixedConfiguration(AbstractConfig config)
At start-up, Dubbo is driven by various configuration, such as Application, Registry, Protocol, etc.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
AbstractInterfaceConfig
AbstractDefaultConfig
|
class |
AbstractMethodConfig
AbstractMethodConfig
|
class |
AbstractReferenceConfig
AbstractConsumerConfig
|
class |
AbstractServiceConfig
AbstractServiceConfig
|
class |
ApplicationConfig
The application info
|
class |
ConfigCenterConfig
ConfigCenterConfig
|
class |
ConsumerConfig
The service consumer default configuration
|
class |
MetadataReportConfig
MetadataReportConfig
|
class |
MethodConfig
The method configuration
|
class |
MetricsConfig |
class |
ModuleConfig
The module info
|
class |
MonitorConfig
MonitorConfig
|
class |
ProtocolConfig
ProtocolConfig
|
class |
ProviderConfig
The service provider default configuration
|
class |
ReferenceConfig<T>
Please avoid using this class for any new application,
use
ReferenceConfigBase instead. |
class |
ReferenceConfigBase<T>
ReferenceConfig
|
class |
RegistryConfig
RegistryConfig
|
class |
ServiceConfig<T> |
class |
ServiceConfigBase<T>
ServiceConfig
|
class |
SslConfig |
| 限定符和类型 | 类和说明 |
|---|---|
class |
AbstractBuilder<C extends AbstractConfig,B extends AbstractBuilder>
AbstractBuilder
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
ConfigManager.addConfig(AbstractConfig config)
Add the dubbo
config |
void |
ConfigManager.removeConfig(AbstractConfig config)
In some scenario, we may nee to add and remove ServiceConfig or ReferenceConfig dynamically.
|
| 构造器和说明 |
|---|
ConfigConfigurationAdapter(AbstractConfig config) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
ConfigCenterBean
Start from 2.7.0+, export and refer will only be executed when Spring is fully initialized, and each Config bean will get refreshed on the start of the export and refer process.
|
class |
ReferenceBean<T>
ReferenceFactoryBean
|
class |
ServiceBean<T>
ServiceFactoryBean
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
NamePropertyDefaultValueDubboConfigBeanCustomizer.customize(String beanName,
AbstractConfig dubboConfigBean)
已过时。
|
void |
DubboConfigBeanCustomizer.customize(String beanName,
AbstractConfig dubboConfigBean)
Customize
Dubbo Config Bean |
| 限定符和类型 | 方法和说明 |
|---|---|
<C extends AbstractConfig> |
DubboConfigBinder.bind(String prefix,
C dubboConfig)
Bind the properties to Dubbo Config Object under specified prefix.
|
<C extends AbstractConfig> |
DefaultDubboConfigBinder.bind(String prefix,
C dubboConfig) |
Copyright © 2011–2021 The Apache Software Foundation. All rights reserved.