Package org.apache.dubbo.registry.client
Interface ServiceDiscoveryFactory
- All Known Implementing Classes:
AbstractServiceDiscoveryFactory,DefaultServiceDiscoveryFactory
The factory to create
ServiceDiscovery- Since:
- 2.7.5
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic ServiceDiscoveryFactorygetExtension(URL registryURL) Get the extension instance ofServiceDiscoveryFactorybythe protocolgetServiceDiscovery(URL registryURL) Get the instance ofServiceDiscovery
-
Method Details
-
getServiceDiscovery
Get the instance ofServiceDiscovery- Parameters:
registryURL- theURLto connect the registry- Returns:
- non-null
-
getExtension
Get the extension instance ofServiceDiscoveryFactorybythe protocol- Parameters:
registryURL- theURLto connect the registry- Returns:
- non-null
-