接口 ServiceNameMapping

    • 字段详细资料

    • 方法详细资料

      • map

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

        static String buildMappingKey​(URL url)
      • buildGroup

        static String buildGroup​(String serviceInterface)
      • getServices

        Set<String> getServices​(URL subscribedURL)
        1.developer explicitly specifies the application name this interface belongs to 2.check Interface-App mapping
      • getAndListenServices

        Set<String> getAndListenServices​(URL registryURL,
                                         URL subscribedURL,
                                         MappingListener listener)
        1.developer explicitly specifies the application name this interface belongs to 2.check Interface-App mapping 3.use the services specified in registry url.