com.netflix.client.config
Interface IClientConfig

All Known Implementing Classes:
DefaultClientConfigImpl

public interface IClientConfig

Defines the client configuration used by various APIs to initialize clients or load balancers.


Method Summary
 boolean containsProperty(IClientConfigKey key)
           
 java.lang.String getClientName()
           
 java.lang.String getNameSpace()
           
 java.util.Map<java.lang.String,java.lang.Object> getProperties()
           
 java.lang.Object getProperty(IClientConfigKey key)
           
 java.lang.Object getProperty(IClientConfigKey key, java.lang.Object defaultVal)
           
 void loadProperties(java.lang.String clientName)
          Load the properties for a given client and/or load balancer.
 java.lang.String resolveDeploymentContextbasedVipAddresses()
          Returns the applicable virtual addresses ("vip") used by this client configuration.
 void setProperty(IClientConfigKey key, java.lang.Object value)
           
 

Method Detail

getClientName

java.lang.String getClientName()

getNameSpace

java.lang.String getNameSpace()

loadProperties

void loadProperties(java.lang.String clientName)
Load the properties for a given client and/or load balancer.

Parameters:
clientName -

getProperties

java.util.Map<java.lang.String,java.lang.Object> getProperties()

setProperty

void setProperty(IClientConfigKey key,
                 java.lang.Object value)

getProperty

java.lang.Object getProperty(IClientConfigKey key)

getProperty

java.lang.Object getProperty(IClientConfigKey key,
                             java.lang.Object defaultVal)

containsProperty

boolean containsProperty(IClientConfigKey key)

resolveDeploymentContextbasedVipAddresses

java.lang.String resolveDeploymentContextbasedVipAddresses()
Returns the applicable virtual addresses ("vip") used by this client configuration.

Returns: