@SPI(value="default") public interface WritableMetadataService extends MetadataService
MetadataService that extends MetadataService and provides the modification, which is used for
Dubbo's consumers and providers.ALL_SERVICE_INTERFACES, ALL_SERVICE_NAMES, DEFAULT_EXTENSION, SERVICE_INTERFACE_NAME, VERSION| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
exportURL(URL url)
Exports a
URL |
static WritableMetadataService |
getDefaultExtension()
|
void |
publishServiceDefinition(URL providerUrl) |
default String |
serviceName()
Gets the current Dubbo Service name
|
boolean |
subscribeURL(URL url)
Subscribes a
URL |
boolean |
unexportURL(URL url)
Unexports a
URL |
boolean |
unsubscribeURL(URL url)
Unsubscribes a
URL |
exportServiceDiscoveryMetadata, getAndListenServiceDiscoveryMetadata, getExportedURLs, getExportedURLs, getExportedURLs, getExportedURLs, getExportedURLs, getMetadataChangeListenerMap, getMetadataInfo, getMetadataInfos, getServiceDefinition, getServiceDefinition, getSubscribedURLs, isMetadataServiceURL, toSortedStrings, toSortedStrings, toURLs, versiondefault String serviceName()
serviceName 在接口中 MetadataServiceboolean unexportURL(URL url)
URLurl - a URLtrueboolean subscribeURL(URL url)
URLurl - a URLtrueboolean unsubscribeURL(URL url)
URLurl - a URLtruevoid publishServiceDefinition(URL providerUrl)
static WritableMetadataService getDefaultExtension()
Copyright © 2011–2021 The Apache Software Foundation. All rights reserved.