|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The settings (configuration) for the Cocoon core are described through the BaseSettings
interface and the DynamicSettings
interface.
Whereas the settings of the BaseSettings
object can't be changed at runtime,
the settings of the DynamicSettings
object are mutable. Use the Core
instance
to update the settings.
Field Summary | |
static String |
DEFAULT_RUNNING_MODE
The default running mode. |
static String |
KEY_CACHE_DIRECTORY
This parameter allows to specify where Cocoon should create its page and other objects cache. |
static String |
KEY_CONFIGURATION
This parameter points to the main configuration file for Cocoon. |
static String |
KEY_EXTRA_CLASSPATHS
This parameter allows to specify additional directories or jars which Cocoon should put into it's own classpath. |
static String |
KEY_FORCE_PROPERTIES
This parameter allows to set system properties |
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_LOGGING_BOOTSTRAP_LOGLEVEL
This parameter indicates the log level to use throughout startup of the system. |
static String |
KEY_LOGGING_COCOON_LOGGER
This parameter indicates the category id of the logger from the LogKit management configuration for the Cocoon engine. |
static String |
KEY_LOGGING_CONFIGURATION
This parameter indicates the configuration file of the LogKit management |
static String |
KEY_LOGGING_ENVIRONMENT_LOGGER
This parameter indicates the category id of the logger from the LogKit configuration used by the environment. |
static String |
KEY_LOGGING_MANAGER_CLASS
This parameter switches the logging system from LogKit to Log4J for Cocoon. |
static String |
KEY_LOGGING_OVERRIDE_LOGLEVEL
If this value is specified, it will be interpreted as a log level and all logging categories will be set to this level regardless of their definition in the logging configuration. |
static String |
KEY_MANAGE_EXCEPTIONS
If true or not set, this class will try to catch and handle all Cocoon exceptions. |
static String |
KEY_PARENT_SERVICE_MANAGER
This parameter allows you to select the parent service manager. |
static String |
KEY_PROPERTY_PROVIDER
This key allows to add own PropertyProvider s. |
static String |
KEY_UPLOADS_DIRECTORY
This parameter allows to specify where Cocoon should put uploaded files. |
static String |
KEY_WORK_DIRECTORY
This parameter allows to specify where Cocoon should put it's working files. |
static boolean |
MANAGE_EXCEPTIONS
Default value for isManageExceptions() . |
static String |
PROPERTY_RUNNING_MODE
Name of the property specifying the running mode. |
static String |
PROPERTY_USER_SETTINGS
Name of the property specifying a custom user properties file. |
Method Summary | |
String |
getBootstrapLogLevel()
|
String |
getCacheDirectory()
|
String |
getCocoonLogger()
|
String |
getConfiguration()
|
long |
getCreationTime()
The creation time of the current Cocoon instance. |
String |
getEnvironmentLogger()
|
List |
getExtraClasspaths()
|
Map |
getForceProperties()
|
String |
getFormEncoding()
|
List |
getLoadClasses()
|
String |
getLoggerManagerClassName()
|
String |
getLoggingConfiguration()
|
String |
getOverrideLogLevel()
|
String |
getParentServiceManagerClassName()
|
List |
getPropertyProviders()
|
String |
getUploadDirectory()
|
String |
getWorkDirectory()
|
boolean |
isManageExceptions()
|
Field Detail |
public static final boolean MANAGE_EXCEPTIONS
isManageExceptions()
.
public static final String PROPERTY_USER_SETTINGS
public static final String PROPERTY_RUNNING_MODE
public static final String DEFAULT_RUNNING_MODE
public static final String KEY_FORCE_PROPERTIES
public static final String KEY_CONFIGURATION
public static final String KEY_LOGGING_CONFIGURATION
public static final String KEY_LOGGING_BOOTSTRAP_LOGLEVEL
public static final String KEY_LOGGING_MANAGER_CLASS
public static final String KEY_LOAD_CLASSES
public static final String KEY_EXTRA_CLASSPATHS
public static final String KEY_PARENT_SERVICE_MANAGER
public static final String KEY_LOGGING_ENVIRONMENT_LOGGER
public static final String KEY_LOGGING_COCOON_LOGGER
public static final String KEY_UPLOADS_DIRECTORY
public static final String KEY_CACHE_DIRECTORY
public static final String KEY_WORK_DIRECTORY
public static final String KEY_MANAGE_EXCEPTIONS
public static final String KEY_FORM_ENCODING
public static final String KEY_LOGGING_OVERRIDE_LOGLEVEL
public static final String KEY_PROPERTY_PROVIDER
PropertyProvider
s.
Method Detail |
public String getConfiguration()
KEY_CONFIGURATION
public List getExtraClasspaths()
KEY_EXTRA_CLASSPATHS
public Map getForceProperties()
KEY_FORCE_PROPERTIES
public List getLoadClasses()
KEY_LOAD_CLASSES
public String getLoggerManagerClassName()
KEY_LOGGING_MANAGER_CLASS
public String getLoggingConfiguration()
KEY_LOGGING_CONFIGURATION
public String getBootstrapLogLevel()
KEY_LOGGING_BOOTSTRAP_LOGLEVEL
public String getParentServiceManagerClassName()
KEY_PARENT_SERVICE_MANAGER
public String getUploadDirectory()
KEY_UPLOADS_DIRECTORY
public String getWorkDirectory()
KEY_WORK_DIRECTORY
public String getEnvironmentLogger()
KEY_LOGGING_ENVIRONMENT_LOGGER
public String getOverrideLogLevel()
KEY_LOGGING_OVERRIDE_LOGLEVEL
public String getFormEncoding()
KEY_FORM_ENCODING
public boolean isManageExceptions()
KEY_MANAGE_EXCEPTIONS
public String getCacheDirectory()
KEY_CACHE_DIRECTORY
public String getCocoonLogger()
KEY_LOGGING_COCOON_LOGGER
public long getCreationTime()
public List getPropertyProviders()
KEY_PROPERTY_PROVIDER
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |