Package io.smallrye.stork.spi.config
Interface ConfigProvider
public interface ConfigProvider
Configuration provider for Service Discovery and Load Balancer
-
Method Summary
Modifier and TypeMethodDescriptionGet a list of service configurations, each wrapping a configuration for both ServiceDiscovery and LoadBalancerintpriority()Priority of the configuration provider.
-
Method Details
-
getConfigs
List<ServiceConfig> getConfigs()Get a list of service configurations, each wrapping a configuration for both ServiceDiscovery and LoadBalancer- Returns:
- a list of configurations
-
priority
int priority()Priority of the configuration provider. A single ConfigProvider is used in an application, the one with the highest priority- Returns:
- the priority
-