org.codehaus.cargo.container.tomcat
Class Tomcat5xEmbeddedLocalContainer
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.AbstractEmbeddedLocalContainer
org.codehaus.cargo.container.tomcat.Tomcat5xEmbeddedLocalContainer
- All Implemented Interfaces:
- org.codehaus.cargo.container.Container, org.codehaus.cargo.container.EmbeddedLocalContainer, org.codehaus.cargo.container.internal.RunnableContainer, org.codehaus.cargo.container.LocalContainer, org.codehaus.cargo.util.log.Loggable
public class Tomcat5xEmbeddedLocalContainer
- extends org.codehaus.cargo.container.spi.AbstractEmbeddedLocalContainer
Embedded Tomcat 5.x container.
- Version:
- $Id: Tomcat5xEmbeddedLocalContainer.java 1260 2007-01-02 16:56:04Z vmassol $
Constructor Summary |
Tomcat5xEmbeddedLocalContainer(org.codehaus.cargo.container.configuration.LocalConfiguration configuration)
Creates a Tomcat 5.x EmbeddedLocalContainer . |
Method Summary |
protected void |
doStart()
|
protected void |
doStop()
|
org.codehaus.cargo.container.ContainerCapability |
getCapability()
|
java.lang.String |
getId()
|
java.lang.String |
getName()
|
protected void |
waitForCompletion(boolean waitForStarting)
Tomcat's start/stop methods are synchronous, so no need for waiting. |
Methods inherited from class org.codehaus.cargo.container.spi.AbstractEmbeddedLocalContainer |
getClassLoader, getType, setClassLoader, startInternal, stopInternal |
Methods inherited from class org.codehaus.cargo.container.spi.AbstractLocalContainer |
getConfiguration, getOutput, getState, getTimeout, isAppend, setAppend, setConfiguration, setOutput, setState, setTimeout, start, stop, verify |
Methods inherited from class org.codehaus.cargo.util.log.LoggedObject |
getLogger, setLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.codehaus.cargo.container.LocalContainer |
getConfiguration, setConfiguration |
Methods inherited from interface org.codehaus.cargo.container.Container |
getState |
Methods inherited from interface org.codehaus.cargo.util.log.Loggable |
getLogger, setLogger |
Methods inherited from interface org.codehaus.cargo.container.internal.RunnableContainer |
getOutput, getTimeout, isAppend, setAppend, setOutput, setTimeout, start, stop |
Tomcat5xEmbeddedLocalContainer
public Tomcat5xEmbeddedLocalContainer(org.codehaus.cargo.container.configuration.LocalConfiguration configuration)
- Creates a Tomcat 5.x
EmbeddedLocalContainer
.
- Parameters:
configuration
- the configuration of the newly created container.
doStart
protected void doStart()
throws java.lang.Exception
-
- Specified by:
doStart
in class org.codehaus.cargo.container.spi.AbstractEmbeddedLocalContainer
- Throws:
java.lang.Exception
- See Also:
AbstractEmbeddedLocalContainer.doStart()
waitForCompletion
protected void waitForCompletion(boolean waitForStarting)
- Tomcat's start/stop methods are synchronous, so no need for waiting.
- Overrides:
waitForCompletion
in class org.codehaus.cargo.container.spi.AbstractLocalContainer
- Parameters:
waitForStarting
- never used
doStop
protected void doStop()
throws java.lang.Exception
-
- Specified by:
doStop
in class org.codehaus.cargo.container.spi.AbstractEmbeddedLocalContainer
- Throws:
java.lang.Exception
- See Also:
AbstractEmbeddedLocalContainer.doStop()
getId
public java.lang.String getId()
-
- See Also:
Container.getId()
getName
public java.lang.String getName()
-
- See Also:
Container.getName()
getCapability
public org.codehaus.cargo.container.ContainerCapability getCapability()
-
- See Also:
Container.getCapability()
Copyright © 2004-2009 Codehaus. All Rights Reserved.