|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.cabo.share.config.ApplicationConfiguration
An ApplicationConfiguration object represents configuration
information at the web application level. Instances of
this class can only be created by UIX itself based
on a WEB-INF/uix-config.xml
file, and must
be retrieved with the {link #getInstance getInstance()} method.
Each WEB-INF/uix-config.xml
file defines:
Field Summary | |
static java.lang.Object |
CHECK_IMAGES_MODIFIED
Key that reports whether image file modification dates should be checked or ignored. |
static java.lang.Object |
CHECK_MODIFIED
Key that reports whether file modification dates should be checked or ignored. |
static java.lang.Object |
CHECK_STYLES_MODIFIED
Key that reports whether style file modification dates should be checked or ignored. |
static java.lang.Object |
DEBUG_FLUSH_ON_END_ELEMENT
Key that reports whether output should automatically be flushed every time an element ends. |
static java.lang.Object |
DEBUG_INDENT_OUTPUT
Key that reports whether output should be pretty-printed. |
static java.lang.Object |
DEBUG_LOG_REQUEST_PARAMETERS
Key that reports whether the parameters for each request should be logged. |
static java.lang.Object |
DEBUG_LOG_REQUEST_TIMING
Key that reports whether timing information for each request should be logged. |
static java.lang.Object |
DEBUG_LOG_TO_CONSOLE
Key that reports whether logged information should be sent to the console as well as the standard servlet log. |
static java.lang.Object |
DEBUG_PARTIAL_RESPONSES
Key that reports whether the contents that are generated for each partial page response should be displayed for debugging purposes. |
static java.lang.Object |
DISPLAY_PARSE_ERRORS
Key that reports whether parsing errors should be displayed directly in a page, or just sent to the error log. |
static java.lang.Object |
LENIENT_DATE_FORMATS
Key that reports whether date formatting should be lenient. |
static java.lang.Object |
UI_EXTENSIONS
Key that identifies an array of UIExtension objects. |
static java.lang.Object |
UIX_PATH
Key that identifies the path to search for uiXML files. |
Method Summary | |
ConfigurationImpl |
createConfiguration(java.lang.String name)
Returns a new Configuration based on the default configuration for this ApplicationConfiguration. |
Configuration |
getConfiguration(java.lang.String name)
Returns a named configuration stored on this ApplicationConfiguration. |
Configuration |
getDefault()
Returns the default configuration for this ApplicationConfiguration. |
static ApplicationConfiguration |
getInstance(javax.servlet.ServletContext context)
Returns an instance of an ApplicationConfiguration. |
java.lang.Object |
getProperty(java.lang.Object key)
Returns a global property. |
boolean |
isDebug()
Returns whether the application configuration is in debug mode. |
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.Object CHECK_IMAGES_MODIFIED
public static final java.lang.Object CHECK_STYLES_MODIFIED
public static final java.lang.Object CHECK_MODIFIED
public static final java.lang.Object DISPLAY_PARSE_ERRORS
public static final java.lang.Object LENIENT_DATE_FORMATS
public static final java.lang.Object DEBUG_FLUSH_ON_END_ELEMENT
public static final java.lang.Object DEBUG_INDENT_OUTPUT
public static final java.lang.Object DEBUG_LOG_TO_CONSOLE
public static final java.lang.Object DEBUG_LOG_REQUEST_TIMING
public static final java.lang.Object DEBUG_LOG_REQUEST_PARAMETERS
public static final java.lang.Object DEBUG_PARTIAL_RESPONSES
public static final java.lang.Object UI_EXTENSIONS
public static final java.lang.Object UIX_PATH
Method Detail |
public static ApplicationConfiguration getInstance(javax.servlet.ServletContext context)
context
- the current ServletContextpublic boolean isDebug()
public Configuration getDefault()
public Configuration getConfiguration(java.lang.String name)
public ConfigurationImpl createConfiguration(java.lang.String name)
name
- the name of this configuration.public java.lang.Object getProperty(java.lang.Object key)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |