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