public class BaseAdapterConfiguration extends java.lang.Object implements AdapterConfiguration
adapter.properties
fileConstructor and Description |
---|
BaseAdapterConfiguration(java.lang.String propertiesFile,
ConfigurationLoader loader) |
BaseAdapterConfiguration(java.lang.String propertiesFile,
ConfigurationLoader loader,
AdapterConfigurationManager configManager) |
BaseAdapterConfiguration(java.lang.String propertiesFile,
ConfigurationLoader configLoader,
AdapterConfigurationManager configManager,
org.slf4j.Logger logger) |
Modifier and Type | Method and Description |
---|---|
boolean |
getBooleanConfigValue(java.lang.String propertyName,
boolean defaultValue) |
ConfigurationLoader |
getConfigurationLoader() |
ErrorMessageTranslator |
getErrorMessageTranslator() |
int |
getIntConfigValue(java.lang.String propertyName,
int defaultValue) |
long |
getJMXPublishInterval() |
java.util.List<java.lang.String> |
getListConfigValue(java.lang.String propertyName,
java.util.List<java.lang.String> defaultValue) |
long |
getLongConfigValue(java.lang.String propertyName,
long defaultValue) |
MessageTranslation |
getMessageTranslationThatMatches(java.lang.String message) |
java.util.List<PreciousMetalConversion> |
getPreciousMetalConversions() |
org.apache.commons.configuration.PropertiesConfiguration |
getPropertiesConfiguration() |
java.lang.String |
getStringConfigValue(java.lang.String propertyName,
java.lang.String defaultValue) |
boolean |
isUseDirectorUserManager() |
public BaseAdapterConfiguration(java.lang.String propertiesFile, ConfigurationLoader loader, AdapterConfigurationManager configManager) throws DataSourceConfigurationException
DataSourceConfigurationException
public BaseAdapterConfiguration(java.lang.String propertiesFile, ConfigurationLoader loader) throws DataSourceConfigurationException
DataSourceConfigurationException
public BaseAdapterConfiguration(java.lang.String propertiesFile, ConfigurationLoader configLoader, AdapterConfigurationManager configManager, org.slf4j.Logger logger) throws DataSourceConfigurationException
DataSourceConfigurationException
public ErrorMessageTranslator getErrorMessageTranslator()
getErrorMessageTranslator
in interface AdapterConfiguration
public long getJMXPublishInterval()
getJMXPublishInterval
in interface AdapterConfiguration
public boolean isUseDirectorUserManager()
isUseDirectorUserManager
in interface AdapterConfiguration
public MessageTranslation getMessageTranslationThatMatches(java.lang.String message)
getMessageTranslationThatMatches
in interface AdapterConfiguration
public java.util.List<PreciousMetalConversion> getPreciousMetalConversions() throws DataSourceConfigurationException
getPreciousMetalConversions
in interface AdapterConfiguration
DataSourceConfigurationException
public java.lang.String getStringConfigValue(java.lang.String propertyName, java.lang.String defaultValue)
getStringConfigValue
in interface AdapterConfiguration
public boolean getBooleanConfigValue(java.lang.String propertyName, boolean defaultValue)
getBooleanConfigValue
in interface AdapterConfiguration
public java.util.List<java.lang.String> getListConfigValue(java.lang.String propertyName, java.util.List<java.lang.String> defaultValue)
getListConfigValue
in interface AdapterConfiguration
public long getLongConfigValue(java.lang.String propertyName, long defaultValue)
getLongConfigValue
in interface AdapterConfiguration
public int getIntConfigValue(java.lang.String propertyName, int defaultValue)
getIntConfigValue
in interface AdapterConfiguration
public org.apache.commons.configuration.PropertiesConfiguration getPropertiesConfiguration()
getPropertiesConfiguration
in interface AdapterConfiguration
public ConfigurationLoader getConfigurationLoader()
getConfigurationLoader
in interface AdapterConfiguration
Copyright © 2016 Caplin Systems.