com.netflix.client
Interface IClientConfigAware
- All Known Subinterfaces:
- IPrimeConnection
- All Known Implementing Classes:
- AbstractLoadBalancerAwareClient, AbstractLoadBalancerPing, AbstractLoadBalancerRule, AbstractServerList, AvailabilityFilteringRule, BaseLoadBalancer, ClientConfigEnabledRoundRobinRule, ConfigurationBasedServerList, DummyPing, DynamicServerListLoadBalancer, WeightedResponseTimeRule, ZoneAvoidanceRule, ZoneAwareLoadBalancer
public interface IClientConfigAware
There are multiple classes (and components) that need access to the configuration.
Its easier to do this by using IClientConfig
as the object that carries these configurations
and to define a common interface that components that need this can implement and hence be aware of.
Method Summary |
void |
initWithNiwsConfig(IClientConfig clientConfig)
Concrete implementation should implement this method so that the configuration set via
IClientConfig (which in turn were set via Archaius properties) will be taken into consideration |
initWithNiwsConfig
void initWithNiwsConfig(IClientConfig clientConfig)
- Concrete implementation should implement this method so that the configuration set via
IClientConfig
(which in turn were set via Archaius properties) will be taken into consideration
- Parameters:
clientConfig
-