org.apache.cactus.integration.ant.container.tomcat
Class Tomcat4xContainer

java.lang.Object
  extended byorg.apache.tools.ant.ProjectComponent
      extended byorg.apache.cactus.integration.ant.container.AbstractContainer
          extended byorg.apache.cactus.integration.ant.container.AbstractJavaContainer
              extended byorg.apache.cactus.integration.ant.container.tomcat.AbstractTomcatContainer
                  extended byorg.apache.cactus.integration.ant.container.tomcat.AbstractCatalinaContainer
                      extended byorg.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,v 1.6 2004/02/29 10:10:41 vmassol Exp $

Constructor Summary
Tomcat4xContainer()
           
 
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.tomcat.AbstractCatalinaContainer
getName, setTmpDir
 
Methods inherited from class org.apache.cactus.integration.ant.container.tomcat.AbstractTomcatContainer
addConf, getDir, getPort, getServerXml, setDir, setPort, setServerXml
 
Methods inherited from class org.apache.cactus.integration.ant.container.AbstractJavaContainer
setAppend, setOutput
 
Methods inherited from class org.apache.cactus.integration.ant.container.AbstractContainer
createExclude, getContainerClasspath, getExcludePatterns, getStartUpWait, getSystemProperties, getTestContext, getToDir, isEnabled, isExcluded, setAntTaskFactory, setContainerClasspath, setDeployableFile, setIf, setLog, 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
 

Constructor Detail

Tomcat4xContainer

public Tomcat4xContainer()
Method Detail

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.