| 程序包 | 说明 |
|---|---|
| org.apache.dubbo.metadata |
| 限定符和类型 | 类和说明 |
|---|---|
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 |
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.