org.apache.cactus.configuration
Class BaseConfiguration
java.lang.Object
org.apache.cactus.configuration.BaseConfiguration
- All Implemented Interfaces:
- Configuration
- Direct Known Subclasses:
- AbstractWebConfiguration
- public class BaseConfiguration
- extends java.lang.Object
- implements Configuration
Provides access to the Cactus configuration parameters that are independent
of any redirector. All Cactus configuration are defined as Java System
Properties.
- Version:
- $Id: BaseConfiguration.java,v 1.4.2.1 2003/10/23 15:10:09 vmassol Exp $
- Author:
- Vincent Massol
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CACTUS_CONTEXT_URL_PROPERTY
public static final java.lang.String CACTUS_CONTEXT_URL_PROPERTY
- Name of Cactus property that specify the URL up to the webapp context.
This is the base URL to call for the redirectors. It is made up of :
"http://" + serverName + port + "/" + contextName.
- See Also:
- Constant Field Values
DEFAULT_CACTUS_CONNECTION_HELPER_CLASSNAME
public static final java.lang.String DEFAULT_CACTUS_CONNECTION_HELPER_CLASSNAME
- Default
ConnectionHelper
to use.
BaseConfiguration
public BaseConfiguration()
getContextURL
public java.lang.String getContextURL()
- Specified by:
getContextURL
in interface Configuration
- Returns:
- the context URL under which our application to test runs.
getConnectionHelper
public java.lang.String getConnectionHelper()
- Specified by:
getConnectionHelper
in interface Configuration
- Returns:
- the
ConnectionHelper
classname to use for opening the HTTP connection
getInitializer
public java.lang.String getInitializer()
- Specified by:
getInitializer
in interface Configuration
- Returns:
- the initializer class (i.e. a class that is executed before the
Cactus tests start on the client side) or null if none has been
defined
Copyright © 2000-2003 Apache Software Foundation. All Rights Reserved.