Interface ServiceDiscoveryLoader

All Superinterfaces:
ElementWithType

public interface ServiceDiscoveryLoader extends ElementWithType
Used by stork internals to generate service loader for ServiceDiscoveryProvider.
  • Method Details

    • createServiceDiscovery

      ServiceDiscovery createServiceDiscovery(ConfigWithType config, String serviceName, ServiceConfig serviceConfig, StorkInfrastructure storkInfrastructure)
      Creates a new ServiceDiscovery instance.
      Parameters:
      config - the service discovery configuration, must not be null
      serviceName - the service name, must not be null or blank
      serviceConfig - the service configuration, must not be null
      storkInfrastructure - the stork infrastructure, must not be null
      Returns:
      the new ServiceDiscovery