org.codehaus.cargo.container.tomcat
Class Tomcat3xInstalledLocalContainer
java.lang.Object
org.codehaus.cargo.util.log.LoggedObject
org.codehaus.cargo.container.spi.AbstractContainer
org.codehaus.cargo.container.spi.AbstractLocalContainer
org.codehaus.cargo.container.spi.AbstractInstalledLocalContainer
org.codehaus.cargo.container.tomcat.internal.AbstractTomcatInstalledLocalContainer
org.codehaus.cargo.container.tomcat.Tomcat3xInstalledLocalContainer
- All Implemented Interfaces:
- Container, InstalledLocalContainer, RunnableContainer, SpawnedContainer, LocalContainer, Loggable
public class Tomcat3xInstalledLocalContainer
- extends AbstractTomcatInstalledLocalContainer
Special container support for the Apache Tomcat 3.x servlet container.
- Version:
- $Id: Tomcat3xInstalledLocalContainer.java 1159 2006-07-29 12:23:11Z vmassol $
Field Summary |
static java.lang.String |
ID
Unique container id. |
Method Summary |
java.lang.String |
getId()
|
java.lang.String |
getName()
|
protected void |
invokeContainer(java.lang.String action,
org.apache.tools.ant.taskdefs.Java java)
Invokes the container bootstrap class to start or stop the container,
depending on the value of the provided argument. |
Methods inherited from class org.codehaus.cargo.container.spi.AbstractInstalledLocalContainer |
addToolsJarToClasspath, getAntUtils, getExtraClasspath, getFileHandler, getHome, getHttpUtils, getJdkUtils, getResourceUtils, getSystemProperties, getType, setExtraClasspath, setFileHandler, setHome, setLogger, setSystemProperties, startInternal, stopInternal, verify |
Methods inherited from class org.codehaus.cargo.container.spi.AbstractLocalContainer |
getConfiguration, getOutput, getState, getTimeout, isAppend, setAppend, setConfiguration, setOutput, setState, setTimeout, start, stop, waitForCompletion |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ID
public static final java.lang.String ID
- Unique container id.
- See Also:
- Constant Field Values
Tomcat3xInstalledLocalContainer
public Tomcat3xInstalledLocalContainer(LocalConfiguration configuration)
-
- See Also:
AbstractTomcatInstalledLocalContainer#AbstractInstalledLocalContainer(org.codehaus.cargo.container.configuration.LocalConfiguration)
getName
public final java.lang.String getName()
-
- See Also:
Container.getName()
getId
public final java.lang.String getId()
-
- See Also:
Container.getId()
invokeContainer
protected void invokeContainer(java.lang.String action,
org.apache.tools.ant.taskdefs.Java java)
throws java.lang.Exception
- Invokes the container bootstrap class to start or stop the container,
depending on the value of the provided argument.
- Specified by:
invokeContainer
in class AbstractTomcatInstalledLocalContainer
- Parameters:
action
- Either 'start' or 'stop'java
- the prepared Ant Java command that will be executed
- Throws:
java.lang.Exception
- in case of container invocation error- See Also:
AbstractTomcatInstalledLocalContainer.invokeContainer(String, Java)
Copyright © 2004-2011 Codehaus. All Rights Reserved.