|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.laures.cewolf.Configuration
This class represents the configuration of the Cewolf framework. It is designed as singleton and resists in application context.
| Field Summary | |
static java.lang.String |
KEY
|
| Method Summary | |
static boolean |
configurationExists()
CHecks if a configuration already has been created. |
static Configuration |
getInstance(javax.servlet.ServletContext ctx)
Factory method. |
java.lang.String |
getOverlibURL()
Returns the location of the overlib.js relative to webapp's root. |
Storage |
getStorage()
|
boolean |
isDebugged()
Checks if debugging is configured to be turned on. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String KEY
| Method Detail |
public static Configuration getInstance(javax.servlet.ServletContext ctx)
ctx - the servlet context from where to retrieve the Configuration
object.
public static boolean configurationExists()
true if a config has already been created, else falsepublic boolean isDebugged()
debug in web.xml.
true if a debugging is on, else falsepublic java.lang.String getOverlibURL()
overliburl in web.xml. Defaults to
overlib.js
public Storage getStorage()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||