com.indexdata.mkjsf.config
Class WebXmlConfigReader
java.lang.Object
com.indexdata.mkjsf.config.WebXmlConfigReader
- All Implemented Interfaces:
- ConfigurationReader, Serializable
@Named
@SessionScoped
@Alternative
public class WebXmlConfigReader
- extends Object
- implements ConfigurationReader
Reads a configuration from the context parameters of the deployment descriptor (web.xml)
- Author:
- Niels Erik
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebXmlConfigReader
public WebXmlConfigReader()
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.