接口 MetadataServiceExporter
-
- 所有超级接口:
Comparable<org.apache.dubbo.common.lang.Prioritized>,org.apache.dubbo.common.lang.Prioritized
@SPI("local") public interface MetadataServiceExporter extends org.apache.dubbo.common.lang.PrioritizedThe exporter ofMetadataService- 从以下版本开始:
- 2.7.5
- 另请参阅:
MetadataService,export(),unexport()
-
-
方法概要
所有方法 静态方法 实例方法 抽象方法 默认方法 修饰符和类型 方法 说明 MetadataServiceExporterexport()Exports theMetadataServiceas a Dubbo servicestatic MetadataServiceExportergetDefaultExtension()Get the default extension ofMetadataServiceExporterList<org.apache.dubbo.common.URL>getExportedURLs()Get theURLsthat were exportedstatic MetadataServiceExportergetExtension(String metadataType)Get the extension ofMetadataServiceExporterby the type.booleanisExported()MetadataServiceis export or notdefault booleansupports(String metadataType)Does current implementation support the specified metadata type?MetadataServiceExporterunexport()Unexports theMetadataService
-
-
-
方法详细资料
-
export
MetadataServiceExporter export()
Exports theMetadataServiceas a Dubbo service- 返回:
itself
-
unexport
MetadataServiceExporter unexport()
Unexports theMetadataService- 返回:
itself
-
getExportedURLs
List<org.apache.dubbo.common.URL> getExportedURLs()
Get theURLsthat were exported- 返回:
- non-null
-
isExported
boolean isExported()
MetadataServiceis export or not- 返回:
- if
export()was executed, returntrue, orfalse
-
supports
default boolean supports(String metadataType)
Does current implementation support the specified metadata type?- 参数:
metadataType- the specified metadata type- 返回:
- If supports, return
true, orfalse - 从以下版本开始:
- 2.7.8
-
getExtension
static MetadataServiceExporter getExtension(String metadataType)
Get the extension ofMetadataServiceExporterby the type. If not found, return the default implementation- 参数:
metadataType- the metadata type- 返回:
- non-null
- 从以下版本开始:
- 2.7.8
-
getDefaultExtension
static MetadataServiceExporter getDefaultExtension()
Get the default extension ofMetadataServiceExporter- 返回:
- non-null
- 从以下版本开始:
- 2.7.8
-
-