com.indexdata.mkjsf.config
Interface ConfigurationReader

All Superinterfaces:
Serializable
All Known Implementing Classes:
Mk2ConfigReader, WebXmlConfigReader

public interface ConfigurationReader
extends Serializable

Interface to be implemented by classes that read configurations from a source - i.e. from web.xml, the file system, a database or hard-coded.

Author:
Niels Erik

Method Summary
 List<String> document()
          Returns documentation for the key-value pairs obtained by this reader
 Configuration getConfiguration(Configurable configurable)
          Returns a Configuration to be used by the given Configurable
 

Method Detail

getConfiguration

Configuration getConfiguration(Configurable configurable)
                               throws ConfigurationException
Returns a Configuration to be used by the given Configurable

Parameters:
configurable - the configurable to be configured by a configuration obtained by this reader
Returns:
a Configuration, basically a set of key-value pairs
Throws:
ConfigurationException

document

List<String> document()
Returns documentation for the key-value pairs obtained by this reader

Returns:


Copyright © 2013. All Rights Reserved.