接口 ServiceDiscoveryFactory
-
@SPI("default") public interface ServiceDiscoveryFactory
The factory to createServiceDiscovery- 从以下版本开始:
- 2.7.5
- 另请参阅:
ServiceDiscovery
-
-
方法概要
所有方法 静态方法 实例方法 抽象方法 修饰符和类型 方法 说明 static ServiceDiscoveryFactorygetExtension(URL registryURL)Get the extension instance ofServiceDiscoveryFactorybythe protocolServiceDiscoverygetServiceDiscovery(URL registryURL)Get the instance ofServiceDiscovery
-
-
-
方法详细资料
-
getServiceDiscovery
ServiceDiscovery getServiceDiscovery(URL registryURL)
Get the instance ofServiceDiscovery- 参数:
registryURL- theURLto connect the registry- 返回:
- non-null
-
getExtension
static ServiceDiscoveryFactory getExtension(URL registryURL)
Get the extension instance ofServiceDiscoveryFactorybythe protocol- 参数:
registryURL- theURLto connect the registry- 返回:
- non-null
-
-