|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This object holds the global configuration of Cocoon.
Field Summary | |
static String |
KEY_CACHE_DIRECTORY
This parameter allows to specify where Cocoon should create its page and other objects cache. |
static String |
KEY_CONTAINER_ENCODING
Set encoding used by the container. |
static String |
KEY_FORM_ENCODING
Set form encoding. |
static String |
KEY_LOAD_CLASSES
This parameter is used to list classes that should be loaded at initialization time of the servlet. |
static String |
KEY_RELOAD_DELAY
Delay between reload checks for the configuration. |
static String |
KEY_RELOADING
Allow reinstantiating (reloading) of the cocoon instance. |
static String |
KEY_WORK_DIRECTORY
This parameter allows to specify where Cocoon should put it's working files. |
static String |
PROPERTY_USER_SETTINGS
Name of the property specifying a custom user properties file. |
static String |
ROLE
The role to lookup this bean. |
Method Summary | |
String |
getCacheDirectory()
|
String |
getContainerEncoding()
|
long |
getCreationTime()
The creation time of the current settings instance. |
String |
getFormEncoding()
|
List |
getLoadClasses()
|
String |
getProperty(String key)
Get the value of a property. |
String |
getProperty(String key,
String defaultValue)
Get the value of a property. |
List |
getPropertyNames()
Return all available property names. |
List |
getPropertyNames(String keyPrefix)
Return all available property names starting with the prefix. |
long |
getReloadDelay(String type)
This method can be used by components to get the configured delay period inbetween checks. |
String |
getRunningMode()
Return the current running mode. |
String |
getWorkDirectory()
|
boolean |
isReloadingEnabled(String type)
This method can be used by components to query if they are configured to check for reloading. |
Field Detail |
public static final String ROLE
public static final String PROPERTY_USER_SETTINGS
public static final String KEY_LOAD_CLASSES
public static final String KEY_CACHE_DIRECTORY
public static final String KEY_WORK_DIRECTORY
public static final String KEY_FORM_ENCODING
public static final String KEY_CONTAINER_ENCODING
public static final String KEY_RELOADING
public static final String KEY_RELOAD_DELAY
Method Detail |
public String getProperty(String key)
key
- The name of the property.
public String getProperty(String key, String defaultValue)
key
- The name of the property.defaultValue
- The value returned if the property is not available.
public List getPropertyNames(String keyPrefix)
keyPrefix
- The prefix each property name must have.
public List getPropertyNames()
public List getLoadClasses()
KEY_LOAD_CLASSES
public String getWorkDirectory()
KEY_WORK_DIRECTORY
public String getFormEncoding()
KEY_FORM_ENCODING
public String getContainerEncoding()
KEY_CONTAINER_ENCODING
public String getCacheDirectory()
KEY_CACHE_DIRECTORY
public long getCreationTime()
public boolean isReloadingEnabled(String type)
type
- The type of the component that wants to check for reload.
KEY_RELOADING
public long getReloadDelay(String type)
type
- The type of the component that wants to check for reload.
KEY_RELOAD_DELAY
public String getRunningMode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |