public class ConfigurableMetadataServiceExporter extends Object implements MetadataServiceExporter
MetadataServiceExporter implementation based on Dubbo configurations, the clients
should make sure the ApplicationConfig, RegistryConfig and ProtocolConfig are ready before
export().
Typically, do not worry about their ready status, because they are initialized before
any ServiceConfig exports, or The Dubbo export will be failed.
Being aware of it's not a thread-safe implementation.
MetadataServiceExporter,
ServiceConfig,
ConfigManagerCOMPARATOR, MAX_PRIORITY, MIN_PRIORITY, NORMAL_PRIORITY| 构造器和说明 |
|---|
ConfigurableMetadataServiceExporter(MetadataService metadataService) |
| 限定符和类型 | 方法和说明 |
|---|---|
ConfigurableMetadataServiceExporter |
export()
Exports the
MetadataService as a Dubbo service |
List<URL> |
getExportedURLs()
Get the
URLs that were exported |
boolean |
isExported()
MetadataService is export or not |
ConfigurableMetadataServiceExporter |
unexport()
Unexports the
MetadataService |
getDefaultExtension, getExtension, supportscompareTo, getPrioritypublic ConfigurableMetadataServiceExporter(MetadataService metadataService)
public ConfigurableMetadataServiceExporter export()
MetadataServiceExporterMetadataService as a Dubbo serviceexport 在接口中 MetadataServiceExporteritselfpublic ConfigurableMetadataServiceExporter unexport()
MetadataServiceExporterMetadataServiceunexport 在接口中 MetadataServiceExporteritselfpublic List<URL> getExportedURLs()
MetadataServiceExporterURLs that were exportedgetExportedURLs 在接口中 MetadataServiceExporterpublic boolean isExported()
MetadataServiceExporterMetadataService is export or notisExported 在接口中 MetadataServiceExporterMetadataServiceExporter.export() was executed, return true, or falseCopyright © 2011–2021 The Apache Software Foundation. All rights reserved.