org.apache.cactus.integration.ant.container.tomcat
Class Tomcat4xContainer
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.cactus.integration.ant.container.AbstractContainer
org.apache.cactus.integration.ant.container.AbstractJavaContainer
org.apache.cactus.integration.ant.container.tomcat.AbstractTomcatContainer
org.apache.cactus.integration.ant.container.tomcat.AbstractCatalinaContainer
org.apache.cactus.integration.ant.container.tomcat.Tomcat4xContainer
- All Implemented Interfaces:
- Container
- public class Tomcat4xContainer
- extends AbstractCatalinaContainer
Special container support for the Apache Tomcat 4.x servlet container.
- Version:
- $Id: Tomcat4xContainer.java 238811 2004-02-29 10:10:42Z vmassol $
Method Summary |
java.io.File |
getContextXml()
|
void |
init()
The default implementation does nothing. |
void |
setContextXml(java.io.File theContextXml)
Sets a user-custom context xml configuration file to use for the test
installation of Tomcat. |
void |
shutDown()
Subclasses must implement this method to perform the actual task of
shutting down the container. |
void |
startUp()
Subclasses must implement this method to perform the actual task of
starting up the container. |
Methods inherited from class org.apache.cactus.integration.ant.container.AbstractContainer |
createExclude, getBaseURL, getContainerClasspath, getExcludePatterns, getProtocol, getServer, getStartUpWait, getSystemProperties, getTestContext, getToDir, isEnabled, isExcluded, setAntTaskFactory, setContainerClasspath, setDeployableFile, setIf, setLog, setProtocol, setServer, setStartUpWait, setSystemProperties, setToDir, setUnless |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject, log, log, setProject |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Tomcat4xContainer
public Tomcat4xContainer()
getContextXml
public final java.io.File getContextXml()
- Returns:
- The context xml file, if set or null otherwise
setContextXml
public final void setContextXml(java.io.File theContextXml)
- Sets a user-custom context xml configuration file to use for the test
installation of Tomcat.
- Parameters:
theContextXml
- the custom context xml file to use
init
public final void init()
- Description copied from class:
AbstractContainer
- The default implementation does nothing.
- Specified by:
init
in interface Container
- Overrides:
init
in class AbstractCatalinaContainer
- See Also:
Container.init()
startUp
public final void startUp()
- Description copied from interface:
Container
- Subclasses must implement this method to perform the actual task of
starting up the container.
- See Also:
Container.startUp()
shutDown
public final void shutDown()
- Description copied from interface:
Container
- Subclasses must implement this method to perform the actual task of
shutting down the container.
- See Also:
Container.shutDown()
Copyright © 2000-2004 Apache Software Foundation. All Rights Reserved.