@EachProperty(value="ribbon.clients") public class NamedRibbonClientConfig extends AbstractRibbonClientConfig
IClientConfig
for each property under the prefix PREFIX
.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PREFIX |
Constructor and Description |
---|
NamedRibbonClientConfig(java.lang.String name,
io.micronaut.context.env.Environment environment)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClientName() |
java.lang.String |
getNameSpace() |
containsProperty, get, get, get, getDynamicProperty, getGlobalProperty, getProperties, getProperty, getProperty, getPropertyAsBoolean, getPropertyAsInteger, getPropertyAsString, loadDefaultValues, loadProperties, qualifyKey, resolveDeploymentContextbasedVipAddresses, set, setNameSpace, setProperty, setVipAddressResolver
public static final java.lang.String PREFIX
public NamedRibbonClientConfig(@Parameter java.lang.String name, io.micronaut.context.env.Environment environment)
name
- name from configurationenvironment
- environmentpublic java.lang.String getClientName()
getClientName
in interface com.netflix.client.config.IClientConfig
getClientName
in class AbstractRibbonClientConfig
IClientConfig.getClientName()
public java.lang.String getNameSpace()
getNameSpace
in interface com.netflix.client.config.IClientConfig
getNameSpace
in class AbstractRibbonClientConfig
IClientConfig.getNameSpace()