com.sdm.quasar.client.spring.common.config
Class SpringConfigReader

java.lang.Object
  extended bycom.sdm.quasar.client.spring.common.config.SpringConfigReader
All Implemented Interfaces:
ConfigReader

public class SpringConfigReader
extends java.lang.Object
implements ConfigReader

Version:
1.$Revision$
Author:
Thomas Wolf

Field Summary
static java.lang.String CONFIG_MAP_BEAN_NAME
           
 
Constructor Summary
SpringConfigReader(java.lang.String resourceName)
          Creates a new SpringConfigReader.
 
Method Summary
 void readConfigFile(ConfigManager configManager)
          Reads a configuration and adds configuration values to the configuration manager.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONFIG_MAP_BEAN_NAME

public static final java.lang.String CONFIG_MAP_BEAN_NAME
See Also:
Constant Field Values
Constructor Detail

SpringConfigReader

public SpringConfigReader(java.lang.String resourceName)
Creates a new SpringConfigReader.

Parameters:
resourceName - the name of the configuration file.
Method Detail

readConfigFile

public void readConfigFile(ConfigManager configManager)
                    throws java.io.IOException
Description copied from interface: ConfigReader
Reads a configuration and adds configuration values to the configuration manager. If value should be added to the configuration using a specific key (or prefix) that key must be supplemented to the implementation of the reader.

Specified by:
readConfigFile in interface ConfigReader
Parameters:
configManager - the ConfigManager to which the configuration should be added
Throws:
java.io.IOException
See Also:
ConfigReader.readConfigFile(com.sdm.quasar.client.core.common.config.ConfigManager)