com.metamatrix.common.config.reader
Interface CurrentConfigurationReader

All Known Implementing Classes:
PropertiesConfigurationReader, XMLCurrentConfigurationReader

public interface CurrentConfigurationReader

This interface defines a self-contained reader for the current configuration, and should be used only by the CurrentConfiguration framework. As such, this is an extremely low-level implementation that may not use anything but com.metamatrix.common.util components and only components that do not use LogManager.

Each class that implements this interface must supply a no-arg constructor.


Method Summary
 ConfigurationModelContainer getConfigurationModel()
          Obtain the next startup configuration model.
 

Method Detail

getConfigurationModel

ConfigurationModelContainer getConfigurationModel()
                                                  throws ConfigurationException
Obtain the next startup configuration model. The implementation may not use logging but instead should rely upon returning an exception in the case of any errors.

Returns:
the serializable Configuration instance
Throws:
ConfigurationException - if an error occurred within or during communication with the repository.


Copyright © 2009. All Rights Reserved.