public class DynamicConfigurationServiceNameMapping extends Object implements ServiceNameMapping
ServiceNameMapping implementation based on DynamicConfiguration| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_MAPPING_GROUP |
| Constructor and Description |
|---|
DynamicConfigurationServiceNameMapping() |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
get(String serviceInterface,
String group,
String version,
String protocol)
Get the service names from the specified Dubbo service interface, group, version and protocol
|
void |
map(String serviceInterface,
String group,
String version,
String protocol)
Map the specified Dubbo service interface, group, version and protocol to current Dubbo service name
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDefaultExtensionpublic static String DEFAULT_MAPPING_GROUP
public DynamicConfigurationServiceNameMapping()
public void map(String serviceInterface, String group, String version, String protocol)
ServiceNameMappingmap in interface ServiceNameMappingserviceInterface - the class name of Dubbo service interfacegroup - the group of Dubbo service interface (optional)version - the version of Dubbo service interface version (optional)protocol - the protocol of Dubbo service interface exported (optional)public Set<String> get(String serviceInterface, String group, String version, String protocol)
ServiceNameMappingget in interface ServiceNameMappingserviceInterface - the class name of Dubbo service interfacegroup - the group of Dubbo service interface (optional)version - the version of Dubbo service interface version (optional)protocol - the protocol of Dubbo service interface exported (optional)Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.