public class RemoteMetadataServiceProxy extends Object implements MetadataService
ALL_SERVICE_INTERFACES, ALL_SERVICE_NAMES, DEFAULT_EXTENSION, SERVICE_INTERFACE_NAME, VERSION| Constructor and Description |
|---|
RemoteMetadataServiceProxy(ServiceInstance serviceInstance) |
| Modifier and Type | Method and Description |
|---|---|
SortedSet<String> |
getExportedURLs(String serviceInterface,
String group,
String version,
String protocol)
Get the sorted set of String that presents the specified Dubbo exported
urls by the
serviceInterface, group, version and protocol |
String |
getServiceDefinition(String serviceKey)
Interface definition.
|
String |
getServiceDefinition(String interfaceName,
String version,
String group)
Interface definition.
|
String |
serviceName()
Gets the current Dubbo Service name
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExportedURLs, getExportedURLs, getExportedURLs, getExportedURLs, getSubscribedURLs, isMetadataServiceURL, toSortedStrings, toSortedStrings, toURLs, versionpublic RemoteMetadataServiceProxy(ServiceInstance serviceInstance)
public String serviceName()
MetadataServiceserviceName in interface MetadataServicepublic SortedSet<String> getExportedURLs(String serviceInterface, String group, String version, String protocol)
MetadataServiceurls by the
serviceInterface, group, version and protocolgetExportedURLs in interface MetadataServiceserviceInterface - The class name of Dubbo service interfacegroup - the Dubbo Service Group (optional)version - the Dubbo Service Version (optional)protocol - the Dubbo Service Protocol (optional)sorted set of strings presenting the URLsMetadataService.toSortedStrings(Stream),
URL.toFullString()public String getServiceDefinition(String interfaceName, String version, String group)
MetadataServicegetServiceDefinition in interface MetadataServicepublic String getServiceDefinition(String serviceKey)
MetadataServicegetServiceDefinition in interface MetadataServiceCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.