|
UIX 2.2.16 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--oracle.cabo.share.config.Configuration
|
+--oracle.cabo.share.config.ConfigurationImpl
ConfigurationImpl is the default implementation of
Configuration. See that interface's documentation
for information on the configuration architecture.
| Constructor Summary | |
ConfigurationImpl(java.lang.String name)
Creates a default ConfigurationImpl. |
|
ConfigurationImpl(java.lang.String name,
ConfigurationImpl base)
Creates a default ConfigurationImpl. |
|
| Method Summary | |
java.lang.String |
getPath(java.lang.Object key,
java.lang.String contextPath)
Return a path for a UIX directory. |
java.lang.Object |
getProperty(java.lang.Object key)
Return a registered property. |
java.lang.String |
getURI(java.lang.Object key,
java.lang.String contextURI)
Return a URI for a UIX directory. |
boolean |
isDebug()
Returns whether the configuration is in debug mode. |
void |
putFullURIAndPath(java.lang.Object key,
java.lang.String uri,
java.lang.String path)
Register a full URI and path. |
void |
putProperty(java.lang.Object key,
java.lang.Object value)
Register a propery. |
void |
putRelativeURI(java.lang.Object key,
java.lang.String uri)
Register a context-relative URI . |
void |
setDebug(boolean debug)
Returns whether the configuration is in debug mode. |
static Configuration |
sharedInstance()
Deprecated. since 2.1.6, developers should use ApplicationConfiguration to retrieve the default configuration. |
| Methods inherited from class oracle.cabo.share.config.Configuration |
getConfiguration, getConfiguration, getName, register, register, unregister, unregister |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ConfigurationImpl(java.lang.String name)
public ConfigurationImpl(java.lang.String name,
ConfigurationImpl base)
| Method Detail |
public static Configuration sharedInstance()
public boolean isDebug()
isDebug in class Configurationpublic void setDebug(boolean debug)
public java.lang.String getURI(java.lang.Object key,
java.lang.String contextURI)
getURI in class Configurationkey - the key used to identify the directorycontextURI - the current contextURI; this will
be preprended to the returned URI if this directory
is registered as (or defaulting to) context-relative.
This path must not be terminated with a separator ("/").DirectoryUnavailableException - if the directory is
unavailable
public java.lang.String getPath(java.lang.Object key,
java.lang.String contextPath)
getPath in class Configurationkey - the key used to identify the directorycontextPath - the current context path; this will
be preprended to the returned path if this directory
is registered as (or defaulting to) context-relative.DirectoryUnavailableException - if the directory is
unavailablepublic java.lang.Object getProperty(java.lang.Object key)
getProperty in class Configurationkey - the key used to identify the property
public void putFullURIAndPath(java.lang.Object key,
java.lang.String uri,
java.lang.String path)
key - the key used to identify the directoryuri - the full URI pointing to the desired locationpath - the full path corresponding to the given URI on the
webserver.
public void putRelativeURI(java.lang.Object key,
java.lang.String uri)
key - the key used to identify the directoryuri - a URI pointing to the desired location, relative
to the root of a web application
public void putProperty(java.lang.Object key,
java.lang.Object value)
putRelativeURI() and
putFullURIAndPath()key - the key used to identify the directoryvalue - the registered valueputRelativeURI(java.lang.Object, java.lang.String),
putFullURIAndPath(java.lang.Object, java.lang.String, java.lang.String)
|
UIX 2.2.16 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||