Package io.smallrye.stork.spi.internal
Interface ServiceDiscoveryLoader
- All Superinterfaces:
ElementWithType
Used by stork internals to generate service loader for ServiceDiscoveryProvider.
-
Method Summary
Modifier and TypeMethodDescriptioncreateServiceDiscovery(ConfigWithType config, String serviceName, ServiceConfig serviceConfig, StorkInfrastructure storkInfrastructure) Creates a newServiceDiscoveryinstance.Methods inherited from interface io.smallrye.stork.spi.ElementWithType
type
-
Method Details
-
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
-