接口 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.Prioritized
    The exporter of MetadataService
    从以下版本开始:
    2.7.5
    另请参阅:
    MetadataService, export(), unexport()
    • 方法详细资料

      • getExportedURLs

        List<org.apache.dubbo.common.URL> getExportedURLs()
        Get the URLs that were exported
        返回:
        non-null
      • isExported

        boolean isExported()
        MetadataService is export or not
        返回:
        if export() was executed, return true, or false
      • supports

        default boolean supports​(String metadataType)
        Does current implementation support the specified metadata type?
        参数:
        metadataType - the specified metadata type
        返回:
        If supports, return true, or false
        从以下版本开始:
        2.7.8
      • getExtension

        static MetadataServiceExporter getExtension​(String metadataType)
        Get the extension of MetadataServiceExporter by the type. If not found, return the default implementation
        参数:
        metadataType - the metadata type
        返回:
        non-null
        从以下版本开始:
        2.7.8