org.apache.lenya.cms.rc
Class RCEnvironment

java.lang.Object
  extended by org.apache.lenya.cms.rc.RCEnvironment
All Implemented Interfaces:
org.apache.avalon.framework.configuration.Configurable

public class RCEnvironment
extends java.lang.Object
implements org.apache.avalon.framework.configuration.Configurable


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

CONFIGURATION_FILE

public static final java.lang.String CONFIGURATION_FILE

RCML_DIRECTORY

public static final java.lang.String RCML_DIRECTORY
See Also:
Constant Field Values

BACKUP_DIRECTORY

public static final java.lang.String BACKUP_DIRECTORY
See Also:
Constant Field Values
Constructor Detail

RCEnvironment

public RCEnvironment(java.lang.String contextPath)
Creates a new RCEnvironment object.

Parameters:
contextPath - DOCUMENT ME!
Method Detail

getInstance

public static RCEnvironment getInstance(java.lang.String contextPath)
Returns the singleton RC environment for this context path.

Parameters:
contextPath - The context path (the Lenya webapp directory).
Returns:
An RC environment.

configure

public void configure(org.apache.avalon.framework.configuration.Configuration configuration)
               throws org.apache.avalon.framework.configuration.ConfigurationException
DOCUMENT ME!

Specified by:
configure in interface org.apache.avalon.framework.configuration.Configurable
Parameters:
configuration - DOCUMENT ME!
Throws:
org.apache.avalon.framework.configuration.ConfigurationException - DOCUMENT ME!

getRCMLDirectory

public java.lang.String getRCMLDirectory()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setRCMLDirectory

protected void setRCMLDirectory(java.lang.String rcmlDir)
Set the rcml directory

Parameters:
rcmlDir - the path to the rcml directory

getBackupDirectory

public java.lang.String getBackupDirectory()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setBackupDirectory

protected void setBackupDirectory(java.lang.String backupDir)
Set the backup directory

Parameters:
backupDir - path to the backup directory


Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.