@SPI(value="default")
public interface ServiceNameMapping
| 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
|
static ServiceNameMapping |
getDefaultExtension()
Get the default extension of
ServiceNameMapping |
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
|
void map(String serviceInterface, String group, String version, String protocol)
serviceInterface - 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)Set<String> get(String serviceInterface, String group, String version, String protocol)
serviceInterface - 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)static ServiceNameMapping getDefaultExtension()
ServiceNameMappingServiceNameMappingDynamicConfigurationServiceNameMappingCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.