public abstract class AbstractMetadataServiceExporter extends Object implements MetadataServiceExporter
MetadataServiceExporter to provider the commons features for sub-typesMetadataServiceExporter,
MetadataServiceCOMPARATOR, MAX_PRIORITY, MIN_PRIORITY, NORMAL_PRIORITY| 构造器和说明 |
|---|
AbstractMetadataServiceExporter(String metadataType,
int priority,
MetadataServiceType supportMetadataServiceType,
MetadataServiceType... otherSupportMetadataServiceTypes) |
AbstractMetadataServiceExporter(String metadataType,
int priority,
Set<MetadataServiceType> supportedMetadataServiceTypes) |
| 限定符和类型 | 方法和说明 |
|---|---|
MetadataServiceExporter |
export()
Exports the
MetadataService as a Dubbo service |
List<URL> |
getExportedURLs()
Get the
URLs that were exported |
WritableMetadataService |
getMetadataService()
Get the underlying of
MetadataService |
int |
getPriority()
Get the priority
|
boolean |
isExported()
MetadataService is export or not |
boolean |
supports(String metadataType)
Does current implementation support the specified metadata type?
|
MetadataServiceExporter |
unexport()
Unexports the
MetadataService |
getDefaultExtension, getExtensioncompareTopublic AbstractMetadataServiceExporter(String metadataType, int priority, MetadataServiceType supportMetadataServiceType, MetadataServiceType... otherSupportMetadataServiceTypes)
public AbstractMetadataServiceExporter(String metadataType, int priority, Set<MetadataServiceType> supportedMetadataServiceTypes)
public final MetadataServiceExporter export()
MetadataServiceExporterMetadataService as a Dubbo serviceexport 在接口中 MetadataServiceExporteritselfpublic final MetadataServiceExporter 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 falsepublic final boolean supports(String metadataType)
MetadataServiceExportersupports 在接口中 MetadataServiceExportermetadataType - the specified metadata typetrue, or falsepublic int getPriority()
PrioritizedgetPriority 在接口中 Prioritizedminimum onepublic WritableMetadataService getMetadataService()
MetadataServiceCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.