|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.lenya.cms.rc.RCEnvironment
public class RCEnvironment
Field Summary | |
---|---|
static java.lang.String |
BACKUP_DIRECTORY
|
static java.lang.String |
CONFIGURATION_FILE
|
static java.lang.String |
RCML_DIRECTORY
|
Constructor Summary | |
---|---|
RCEnvironment(java.lang.String contextPath)
Creates a new RCEnvironment object. |
Method Summary | |
---|---|
void |
configure(org.apache.avalon.framework.configuration.Configuration configuration)
DOCUMENT ME! |
java.lang.String |
getBackupDirectory()
DOCUMENT ME! |
static RCEnvironment |
getInstance(java.lang.String contextPath)
Returns the singleton RC environment for this context path. |
java.lang.String |
getRCMLDirectory()
DOCUMENT ME! |
protected void |
setBackupDirectory(java.lang.String backupDir)
Set the backup directory |
protected void |
setRCMLDirectory(java.lang.String rcmlDir)
Set the rcml directory |
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.String CONFIGURATION_FILE
public static final java.lang.String RCML_DIRECTORY
public static final java.lang.String BACKUP_DIRECTORY
Constructor Detail |
---|
public RCEnvironment(java.lang.String contextPath)
contextPath
- DOCUMENT ME!Method Detail |
---|
public static RCEnvironment getInstance(java.lang.String contextPath)
contextPath
- The context path (the Lenya webapp directory).
public void configure(org.apache.avalon.framework.configuration.Configuration configuration) throws org.apache.avalon.framework.configuration.ConfigurationException
configure
in interface org.apache.avalon.framework.configuration.Configurable
configuration
- DOCUMENT ME!
org.apache.avalon.framework.configuration.ConfigurationException
- DOCUMENT ME!public java.lang.String getRCMLDirectory()
protected void setRCMLDirectory(java.lang.String rcmlDir)
rcmlDir
- the path to the rcml directorypublic java.lang.String getBackupDirectory()
protected void setBackupDirectory(java.lang.String backupDir)
backupDir
- path to the backup directory
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |