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:
- Container, EmbeddedLocalContainer, RunnableContainer, LocalContainer, Loggable
public class Tomcat5xEmbeddedLocalContainer
- extends AbstractEmbeddedLocalContainer
Embedded Tomcat 5.x container.
- Version:
- $Id: Tomcat5xEmbeddedLocalContainer.java 1260 2007-01-02 16:56:04Z vmassol $
Methods inherited from class org.codehaus.cargo.container.spi.AbstractLocalContainer |
getConfiguration, getFileHandler, getOutput, getState, getTimeout, isAppend, setAppend, setConfiguration, setFileHandler, setOutput, setState, setTimeout, start, stop, verify |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Tomcat5xEmbeddedLocalContainer
public Tomcat5xEmbeddedLocalContainer(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 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 AbstractLocalContainer
- Parameters:
waitForStarting
- never used
doStop
protected void doStop()
throws java.lang.Exception
-
- Specified by:
doStop
in class 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 ContainerCapability getCapability()
-
- See Also:
Container.getCapability()
Copyright © 2004-2011 Codehaus. All Rights Reserved.