Class Tomcat10xEmbeddedLocalContainer
- 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.internal.AbstractCatalinaEmbeddedLocalContainer
-
- org.codehaus.cargo.container.tomcat.Tomcat8xEmbeddedLocalContainer
-
- org.codehaus.cargo.container.tomcat.Tomcat9xEmbeddedLocalContainer
-
- org.codehaus.cargo.container.tomcat.Tomcat10xEmbeddedLocalContainer
-
- All Implemented Interfaces:
Container,EmbeddedLocalContainer,RunnableContainer,LocalContainer,Loggable
- Direct Known Subclasses:
Tomcat11xEmbeddedLocalContainer
public class Tomcat10xEmbeddedLocalContainer extends Tomcat9xEmbeddedLocalContainer
Embedded Tomcat 10.x container.
-
-
Field Summary
-
Fields inherited from class org.codehaus.cargo.container.tomcat.internal.AbstractCatalinaEmbeddedLocalContainer
connector, controller, host
-
-
Constructor Summary
Constructors Constructor Description Tomcat10xEmbeddedLocalContainer(LocalConfiguration configuration)Creates a Tomcat 10.xEmbeddedLocalContainer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetId()StringgetName()protected voidprepareController(TomcatEmbedded wrapper, File home, int port)Prepare the Tomcat controller.-
Methods inherited from class org.codehaus.cargo.container.tomcat.Tomcat8xEmbeddedLocalContainer
doStop, getClassLoader
-
Methods inherited from class org.codehaus.cargo.container.tomcat.internal.AbstractCatalinaEmbeddedLocalContainer
doStart, getCapability, getController, getHost, scheduleDeployment, waitForCompletion
-
Methods inherited from class org.codehaus.cargo.container.spi.AbstractEmbeddedLocalContainer
getType, setClassLoader, startInternal, stopInternal
-
Methods inherited from class org.codehaus.cargo.container.spi.AbstractLocalContainer
executePostStartTasks, forceStopInternal, getConfiguration, getFileHandler, getOutput, getState, getTimeout, isAppend, restart, setAppend, setConfiguration, setFileHandler, setOutput, setState, setTimeout, start, stop, verify, waitForPortShutdown, waitForStarting
-
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, getFileHandler, setConfiguration, setFileHandler
-
Methods inherited from interface org.codehaus.cargo.container.internal.RunnableContainer
getOutput, getTimeout, isAppend, restart, setAppend, setOutput, setTimeout, start, stop
-
-
-
-
Constructor Detail
-
Tomcat10xEmbeddedLocalContainer
public Tomcat10xEmbeddedLocalContainer(LocalConfiguration configuration)
Creates a Tomcat 10.xEmbeddedLocalContainer.- Parameters:
configuration- the configuration of the newly created container.
-
-
Method Detail
-
getId
public String getId()
- Specified by:
getIdin interfaceContainer- Overrides:
getIdin classTomcat9xEmbeddedLocalContainer- Returns:
- the short name of the container. Note: this is not a unique id. It is simply the name in a computer-usable format.
-
getName
public String getName()
- Specified by:
getNamein interfaceContainer- Overrides:
getNamein classTomcat9xEmbeddedLocalContainer- Returns:
- the human readable name of the Container (ex: "Resin 3.x", "JBoss 3.0.8", etc).
-
prepareController
protected void prepareController(TomcatEmbedded wrapper, File home, int port)
Prepare the Tomcat controller. After this method returns, thehostandconnectorprotected attributes must be set.- Overrides:
prepareControllerin classTomcat8xEmbeddedLocalContainer- Parameters:
wrapper- Tomcat wrapper.home-CATALINA_BASEdirectory.port- HTTP port.
-
-