|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.trinidadinternal.share.config.Configuration
org.apache.myfaces.trinidadinternal.share.config.ConfigurationImpl
public class ConfigurationImpl
ConfigurationImpl is the default implementation of
Configuration. See that interface's documentation
for information on the configuration architecture.
| Field Summary |
|---|
| Fields inherited from class org.apache.myfaces.trinidadinternal.share.config.Configuration |
|---|
BASE_DIRECTORY, CHECK_TIMESTAMP_PARAM, DISABLE_CONTENT_COMPRESSION, DISABLE_STANDARDS_MODE, HEADLESS, IMAGE_SERVLET_URL, IMAGES_CACHE_DIRECTORY, IMAGES_DIRECTORY, JSLIBS_DIRECTORY, JSPS_DIRECTORY, LOOK_AND_FEEL_MANAGER, RENDERER_MANAGER, SKIN_FAMILY, STYLES_CACHE_DIRECTORY, STYLES_DIRECTORY, XML_PROVIDER |
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||