All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.smallrye.stork.spi.config.ConfigProvider Maven / Gradle / Ivy

Go to download

Main Stork API classes. You are likely to need `smallrye-stork-core` and not this module.

The newest version!
package io.smallrye.stork.spi.config;

import java.util.List;

import io.smallrye.stork.api.config.ServiceConfig;

/**
 * Configuration provider for Service Discovery and Load Balancer
 */
public interface ConfigProvider {
    /**
     * Get a list of service configurations, each wrapping a configuration for both
     * ServiceDiscovery and LoadBalancer
     *
     * @return a list of configurations
     */
    List getConfigs();

    /**
     * Priority of the configuration provider.
     * A single ConfigProvider is used in an application, the one with the highest priority
     *
     * @return the priority
     */
    int priority();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy