| |
|
| java.lang.Object de.laures.cewolf.Configuration
Configuration | public class Configuration (Code) | | This class represents the configuration of the Cewolf framework.
It is designed as singleton and resists in application context.
author: glaures since: 0.8 |
Configuration | protected Configuration(ServletContext ctx)(Code) | | package protected constructor triggered by servlet
|
getInstance | public static Configuration getInstance(ServletContext ctx)(Code) | | Factory method. If no Configuration had been initialized before, a new
one is created, stored in ctx and returned to the caller.
Parameters: ctx - the servlet context from where to retrieve the Configurationobject. the config object |
getOverlibURL | public String getOverlibURL()(Code) | | Returns the location of the overlib.js relative to webapp's root.
Configured by init param overliburl in web.xml. Defaults to
overlib.js
String |
getParameters | public Map getParameters()(Code) | | Get the initialization parameters from Cewolf servlet.
The parameter map (String->String) values |
isDebugged | public boolean isDebugged()(Code) | | Checks if debugging is configured to be turned on. Configured by
init param debug in web.xml.
true if a debugging is on, else false |
|
|
|