Package io.smallrye.stork.spi.config
Class SimpleServiceConfig.SimpleServiceRegistrarConfig
java.lang.Object
io.smallrye.stork.spi.config.SimpleServiceConfig.SimpleServiceRegistrarConfig
- All Implemented Interfaces:
ConfigWithType
- Enclosing class:
- SimpleServiceConfig
public static class SimpleServiceConfig.SimpleServiceRegistrarConfig
extends Object
implements ConfigWithType
An implementation of
ConfigWithType using an unmodifiable Map as backend to store
the configuration.-
Constructor Summary
ConstructorsConstructorDescriptionSimpleServiceRegistrarConfig(String type, Map<String, String> parameters) Creates a new SimpleServiceRegistrarConfig. -
Method Summary
-
Constructor Details
-
SimpleServiceRegistrarConfig
Creates a new SimpleServiceRegistrarConfig.- Parameters:
type- the typeparameters- the configuration map
-
-
Method Details
-
type
Description copied from interface:ConfigWithTypeLoad balancer type, e.g. "round-robin". A LoadBalancerProvider for the type has to be available- Specified by:
typein interfaceConfigWithType- Returns:
- load balancer type
-
parameters
Description copied from interface:ConfigWithTypeLoad Balancer parameters.- Specified by:
parametersin interfaceConfigWithType- Returns:
- map of parameters of the load balancer
-