| 程序包 | 说明 |
|---|---|
| org.apache.dubbo.metadata |
| 限定符和类型 | 类和说明 |
|---|---|
class |
CompositeServiceNameMapping
The composite implementation of
ServiceNameMapping |
class |
DynamicConfigurationServiceNameMapping
The
ServiceNameMapping implementation based on DynamicConfiguration |
class |
ParameterizedServiceNameMapping
The parameterized implementation of
ServiceNameMapping |
class |
PropertiesFileServiceNameMapping
The externalized
Properties file implementation of ServiceNameMapping,
the default properties class path is
"/META-INF/dubbo/service-name-mapping.properties",
whose format as following:
dubbo\:com.acme.Interface1\:default = Service1
thirft\:com.acme.InterfaceX = Service1,Service2
rest\:com.acme.interfaceN = Service3
THe search path could be configured by the externalized property CommonConstants.SERVICE_NAME_MAPPING_PROPERTIES_FILE_KEY |
class |
ReadOnlyServiceNameMapping
Read-Only implementation of
ServiceNameMapping |
| 限定符和类型 | 方法和说明 |
|---|---|
static ServiceNameMapping |
ServiceNameMapping.getDefaultExtension()
Get the default extension of
ServiceNameMapping |
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.