Package io.smallrye.stork.spi.internal
Interface ServiceDiscoveryLoader
-
- All Superinterfaces:
ElementWithType
public interface ServiceDiscoveryLoader extends ElementWithType
Used by stork internals to generate service loader for ServiceDiscoveryProvider.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ServiceDiscoverycreateServiceDiscovery(ConfigWithType config, String serviceName, ServiceConfig serviceConfig, StorkInfrastructure storkInfrastructure)Creates a newServiceDiscoveryinstance.-
Methods inherited from interface io.smallrye.stork.spi.ElementWithType
type
-
-
-
-
Method Detail
-
createServiceDiscovery
ServiceDiscovery createServiceDiscovery(ConfigWithType config, String serviceName, ServiceConfig serviceConfig, StorkInfrastructure storkInfrastructure)
Creates a newServiceDiscoveryinstance.- Parameters:
config- the service discovery configuration, must not benullserviceName- the service name, must not benullor blankserviceConfig- the service configuration, must not benullstorkInfrastructure- the stork infrastructure, must not benull- Returns:
- the new
ServiceDiscovery
-
-