接口 MetadataServiceExporter
-
- 所有超级接口:
Comparable<Prioritized>
,Prioritized
- 所有已知实现类:
ConfigurableMetadataServiceExporter
@SPI("local") public interface MetadataServiceExporter extends Prioritized
The exporter ofMetadataService
- 从以下版本开始:
- 2.7.5
- 另请参阅:
MetadataService
,export()
,unexport()
-
-
字段概要
-
从接口继承的字段 org.apache.dubbo.common.lang.Prioritized
COMPARATOR, MAX_PRIORITY, MIN_PRIORITY, NORMAL_PRIORITY
-
-
方法概要
所有方法 静态方法 实例方法 抽象方法 默认方法 修饰符和类型 方法 说明 MetadataServiceExporter
export()
Exports theMetadataService
as a Dubbo servicestatic MetadataServiceExporter
getDefaultExtension()
Get the default extension ofMetadataServiceExporter
List<URL>
getExportedURLs()
Get theURLs
that were exportedstatic MetadataServiceExporter
getExtension(String metadataType)
Get the extension ofMetadataServiceExporter
by the type.boolean
isExported()
MetadataService
is export or notdefault boolean
supports(String metadataType)
Does current implementation support the specified metadata type?MetadataServiceExporter
unexport()
Unexports theMetadataService
-
从接口继承的方法 org.apache.dubbo.common.lang.Prioritized
compareTo, getPriority
-
-
-
-
方法详细资料
-
export
MetadataServiceExporter export()
Exports theMetadataService
as a Dubbo service- 返回:
itself
-
unexport
MetadataServiceExporter unexport()
Unexports theMetadataService
- 返回:
itself
-
isExported
boolean isExported()
MetadataService
is 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 ofMetadataServiceExporter
by 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
-
-