Class MetadataServiceDelegation
java.lang.Object
org.apache.dubbo.registry.client.metadata.MetadataServiceDelegation
- All Implemented Interfaces:
Disposable,MetadataService
Implementation providing remote RPC service to facilitate the query of metadata information.
-
Field Summary
FieldsFields inherited from interface org.apache.dubbo.metadata.MetadataService
ALL_SERVICE_INTERFACES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()voidexportInstanceMetadata(String instanceMetadata) getAndListenInstanceMetadata(String consumerId, InstanceMetadataChangedListener listener) getExportedURLs(String serviceInterface, String group, String version, String protocol) getMetadataInfo(String revision) getServiceDefinition(String serviceKey) getServiceDefinition(String interfaceName, String version, String group) Gets the current Dubbo Service namevoidsetMetadataURL(URL url) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.dubbo.metadata.MetadataService
getExportedURLs, getExportedURLs, getExportedURLs, getExportedURLs, version
-
Field Details
-
VERSION
- See Also:
-
-
Constructor Details
-
MetadataServiceDelegation
-
-
Method Details
-
serviceName
Gets the current Dubbo Service name- Specified by:
serviceNamein interfaceMetadataService- Returns:
- non-null
-
getMetadataURL
- Specified by:
getMetadataURLin interfaceMetadataService
-
setMetadataURL
-
getSubscribedURLs
- Specified by:
getSubscribedURLsin interfaceMetadataService
-
getExportedURLs
public SortedSet<String> getExportedURLs(String serviceInterface, String group, String version, String protocol) - Specified by:
getExportedURLsin interfaceMetadataService
-
getExportedServiceURLs
- Specified by:
getExportedServiceURLsin interfaceMetadataService
-
getServiceDefinition
- Specified by:
getServiceDefinitionin interfaceMetadataService
-
getServiceDefinition
- Specified by:
getServiceDefinitionin interfaceMetadataService
-
getMetadataInfo
- Specified by:
getMetadataInfoin interfaceMetadataService
-
getMetadataInfos
- Specified by:
getMetadataInfosin interfaceMetadataService
-
exportInstanceMetadata
- Specified by:
exportInstanceMetadatain interfaceMetadataService
-
getInstanceMetadataChangedListenerMap
- Specified by:
getInstanceMetadataChangedListenerMapin interfaceMetadataService
-
getAndListenInstanceMetadata
public String getAndListenInstanceMetadata(String consumerId, InstanceMetadataChangedListener listener) - Specified by:
getAndListenInstanceMetadatain interfaceMetadataService
-
destroy
public void destroy()- Specified by:
destroyin interfaceDisposable
-