public class DynamicConfigurationServiceNameMapping extends Object implements ServiceNameMapping
ServiceNameMapping implementation based on DynamicConfiguration| 限定符和类型 | 字段和说明 |
|---|---|
static String |
DEFAULT_MAPPING_GROUP |
| 构造器和说明 |
|---|
DynamicConfigurationServiceNameMapping() |
| 限定符和类型 | 方法和说明 |
|---|---|
Set<String> |
get(org.apache.dubbo.common.URL subscribedURL)
Get the service names from the subscribed Dubbo service
URL |
int |
getPriority() |
void |
map(org.apache.dubbo.common.URL exportedURL)
Map the specified Dubbo service
URL to current Dubbo service name |
get, getDefaultExtension, mappublic static String DEFAULT_MAPPING_GROUP
public void map(org.apache.dubbo.common.URL exportedURL)
ServiceNameMappingURL to current Dubbo service namemap 在接口中 ServiceNameMappingexportedURL - the URL that the Dubbo Provider exportedpublic Set<String> get(org.apache.dubbo.common.URL subscribedURL)
ServiceNameMappingURLget 在接口中 ServiceNameMappingsubscribedURL - the URL that the Dubbo consumer subscribedSetpublic int getPriority()
getPriority 在接口中 org.apache.dubbo.common.lang.PrioritizedCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.