@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(org.apache.dubbo.common.URL url)
Exports a
URL |
static WritableMetadataService |
getDefaultExtension()
Get
the defautl extension of WritableMetadataService |
void |
publishServiceDefinition(org.apache.dubbo.common.URL providerUrl) |
default String |
serviceName()
Gets the current Dubbo Service name
|
boolean |
subscribeURL(org.apache.dubbo.common.URL url)
Subscribes a
URL |
boolean |
unexportURL(org.apache.dubbo.common.URL url)
Unexports a
URL |
boolean |
unsubscribeURL(org.apache.dubbo.common.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 exportURL(org.apache.dubbo.common.URL url)
URLurl - a URLtrueboolean unexportURL(org.apache.dubbo.common.URL url)
URLurl - a URLtrueboolean subscribeURL(org.apache.dubbo.common.URL url)
URLurl - a URLtrueboolean unsubscribeURL(org.apache.dubbo.common.URL url)
URLurl - a URLtruevoid publishServiceDefinition(org.apache.dubbo.common.URL providerUrl)
static WritableMetadataService getDefaultExtension()
the defautl extension of WritableMetadataServiceCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.