public class ClientConfiguration extends Object implements ServicesConfiguration
| Modifier and Type | Field and Description |
|---|---|
protected Map |
channelSettings |
protected Map |
clusterSettings |
protected Map |
configPaths |
protected List |
defaultChannels |
protected FlexClientSettings |
flexClientSettings |
protected LoggingSettings |
loggingSettings |
protected List |
serviceSettings |
| Constructor and Description |
|---|
ClientConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
void |
addChannelSettings(String id,
ChannelSettings settings) |
void |
addClusterSettings(ClusterSettings settings) |
void |
addConfigPath(String path,
long modified) |
void |
addDefaultChannel(String id) |
void |
addServiceSettings(ServiceSettings settings) |
Map |
getAllChannelSettings() |
List |
getAllServiceSettings() |
ChannelSettings |
getChannelSettings(String ref) |
ClusterSettings |
getClusterSettings(String clusterId) |
Map |
getConfigPaths() |
List |
getDefaultChannels() |
ClusterSettings |
getDefaultCluster() |
FlexClientSettings |
getFlexClientSettings() |
LoggingSettings |
getLoggingSettings() |
ServiceSettings |
getServiceSettings(String serviceType) |
void |
setFlexClientSettings(FlexClientSettings value) |
void |
setLoggingSettings(LoggingSettings settings) |
protected final Map channelSettings
protected final List defaultChannels
protected final List serviceSettings
protected LoggingSettings loggingSettings
protected Map configPaths
protected final Map clusterSettings
protected FlexClientSettings flexClientSettings
public void addChannelSettings(String id, ChannelSettings settings)
addChannelSettings in interface ServicesConfigurationpublic ChannelSettings getChannelSettings(String ref)
getChannelSettings in interface ServicesConfigurationpublic Map getAllChannelSettings()
getAllChannelSettings in interface ServicesConfigurationpublic void addDefaultChannel(String id)
addDefaultChannel in interface ServicesConfigurationpublic List getDefaultChannels()
getDefaultChannels in interface ServicesConfigurationpublic void addServiceSettings(ServiceSettings settings)
addServiceSettings in interface ServicesConfigurationpublic ServiceSettings getServiceSettings(String serviceType)
getServiceSettings in interface ServicesConfigurationpublic List getAllServiceSettings()
getAllServiceSettings in interface ServicesConfigurationpublic void addClusterSettings(ClusterSettings settings)
public ClusterSettings getClusterSettings(String clusterId)
getClusterSettings in interface ServicesConfigurationpublic ClusterSettings getDefaultCluster()
getDefaultCluster in interface ServicesConfigurationpublic void setLoggingSettings(LoggingSettings settings)
setLoggingSettings in interface ServicesConfigurationpublic LoggingSettings getLoggingSettings()
getLoggingSettings in interface ServicesConfigurationpublic void addConfigPath(String path, long modified)
public Map getConfigPaths()
public void setFlexClientSettings(FlexClientSettings value)
public FlexClientSettings getFlexClientSettings()
Copyright © 2015 The Apache Software Foundation. All rights reserved.