|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.laures.cewolf.Configuration
public class Configuration
This class represents the configuration of the Cewolf framework. It is designed as a singleton and resides in the application context.
Field Summary | |
---|---|
static java.lang.String |
KEY
|
Constructor Summary | |
---|---|
protected |
Configuration(javax.servlet.ServletContext ctx)
package protected constructor triggered by servlet |
Method Summary | |
---|---|
static Configuration |
getInstance(javax.servlet.ServletContext ctx)
Factory method. |
int |
getMaxImageHeight()
|
int |
getMaxImageWidth()
|
java.lang.String |
getOverlibURL()
Returns the location of the overlib.js relative to webapp's root. |
java.util.Map<java.lang.String,java.lang.String> |
getParameters()
Get the initialization parameters from Cewolf servlet. |
Storage |
getStorage()
|
boolean |
isDebugged()
Checks if debugging is configured to be turned on. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String KEY
Constructor Detail |
---|
protected Configuration(javax.servlet.ServletContext ctx)
Method Detail |
---|
public static Configuration getInstance(javax.servlet.ServletContext ctx)
ctx
- the servlet context from where to retrieve the Configuration object.
public boolean isDebugged()
debug
in web.xml.
true
if a debugging is on, else false
getOverlibURL
public java.lang.String getOverlibURL()
- Returns the location of the overlib.js relative to webapp's root.
Configured by init param
overliburl
in web.xml. Defaults to overlib.js
- Returns:
- String
getStorage
public Storage getStorage()
getMaxImageWidth
public int getMaxImageWidth()
getMaxImageHeight
public int getMaxImageHeight()
getParameters
public java.util.Map<java.lang.String,java.lang.String> getParameters()
- Get the initialization parameters from Cewolf servlet.
- Returns:
- The parameter map (String->String) values
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD
cewolf tag library - web charts with JFreeChart