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