com.indexdata.mkjsf.config
Class Mk2ConfigReader

java.lang.Object
  extended by com.indexdata.mkjsf.config.Mk2ConfigReader
All Implemented Interfaces:
ConfigurationReader, Serializable

@Named
@SessionScoped
@Alternative
public class Mk2ConfigReader
extends Object
implements ConfigurationReader

Reads configuration from a MasterKey configuration scheme

Author:
Niels Erik
See Also:
Serialized Form

Constructor Summary
Mk2ConfigReader()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Mk2ConfigReader

public Mk2ConfigReader()
                throws IOException
Throws:
IOException
Method Detail

getConfiguration

public Configuration getConfiguration(Configurable configurable)
                               throws ConfigurationException
Description copied from interface: ConfigurationReader
Returns a Configuration to be used by the given Configurable

Specified by:
getConfiguration in interface ConfigurationReader
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

public List<String> document()
Description copied from interface: ConfigurationReader
Returns documentation for the key-value pairs obtained by this reader

Specified by:
document in interface ConfigurationReader
Returns:


Copyright © 2013. All Rights Reserved.