接口 ServiceNameMapping

  • 所有已知实现类:
    MetadataServiceNameMapping

    @SPI("metadata")
    public interface ServiceNameMapping
    The interface for Dubbo service name Mapping
    从以下版本开始:
    2.7.5
    • 字段详细资料

    • 方法详细资料

      • map

        void map​(URL url)
        Map the specified Dubbo service interface, group, version and protocol to current Dubbo service name
      • getAndListen

        Set<String> getAndListen​(URL url,
                                 MappingListener mappingListener)
        Get the service names from the specified Dubbo service interface, group, version and protocol
        返回:
      • buildMappingKey

        static String buildMappingKey​(URL url)
      • buildGroup

        static String buildGroup​(String serviceInterface)