类 ConfigurableMetadataServiceExporter
- java.lang.Object
-
- org.apache.dubbo.config.metadata.ConfigurableMetadataServiceExporter
-
- 所有已实现的接口:
Comparable<Prioritized>
,Prioritized
,MetadataServiceExporter
public class ConfigurableMetadataServiceExporter extends Object implements MetadataServiceExporter
MetadataServiceExporter
implementation based onDubbo configurations
, the clients should make sure theApplicationConfig
,RegistryConfig
andProtocolConfig
are ready beforeexport()
.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.
- 从以下版本开始:
- 2.7.5
- 另请参阅:
MetadataServiceExporter
,ServiceConfig
,ConfigManager
-
-
字段概要
-
从接口继承的字段 org.apache.dubbo.common.lang.Prioritized
COMPARATOR, MAX_PRIORITY, MIN_PRIORITY, NORMAL_PRIORITY
-
-
构造器概要
构造器 构造器 说明 ConfigurableMetadataServiceExporter(MetadataService metadataService)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 ConfigurableMetadataServiceExporter
export()
Exports theMetadataService
as a Dubbo serviceList<URL>
getExportedURLs()
Get theURLs
that were exportedboolean
isExported()
MetadataService
is export or notConfigurableMetadataServiceExporter
unexport()
Unexports theMetadataService
-
从接口继承的方法 org.apache.dubbo.metadata.MetadataServiceExporter
supports
-
从接口继承的方法 org.apache.dubbo.common.lang.Prioritized
compareTo, getPriority
-
-
-
-
构造器详细资料
-
ConfigurableMetadataServiceExporter
public ConfigurableMetadataServiceExporter(MetadataService metadataService)
-
-
方法详细资料
-
export
public ConfigurableMetadataServiceExporter export()
从接口复制的说明:MetadataServiceExporter
Exports theMetadataService
as a Dubbo service- 指定者:
export
在接口中MetadataServiceExporter
- 返回:
itself
-
unexport
public ConfigurableMetadataServiceExporter unexport()
从接口复制的说明:MetadataServiceExporter
Unexports theMetadataService
- 指定者:
unexport
在接口中MetadataServiceExporter
- 返回:
itself
-
getExportedURLs
public List<URL> getExportedURLs()
从接口复制的说明:MetadataServiceExporter
Get theURLs
that were exported- 指定者:
getExportedURLs
在接口中MetadataServiceExporter
- 返回:
- non-null
-
isExported
public boolean isExported()
从接口复制的说明:MetadataServiceExporter
MetadataService
is export or not- 指定者:
isExported
在接口中MetadataServiceExporter
- 返回:
- if
MetadataServiceExporter.export()
was executed, returntrue
, orfalse
-
-