|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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.internal.AbstractCatalinaInstalledLocalContainer
public abstract class AbstractCatalinaInstalledLocalContainer
Base support for Catalina based containers.
Constructor Summary | |
---|---|
AbstractCatalinaInstalledLocalContainer(LocalConfiguration configuration)
|
Method Summary | |
---|---|
protected java.lang.String |
getVersion(java.lang.String defaultVersion)
Returns the version of the Tomcat installation. |
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.tomcat.internal.AbstractTomcatInstalledLocalContainer |
---|
doStart, doStop, getCapability |
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 org.codehaus.cargo.util.log.LoggedObject |
---|
getLogger |
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 |
---|
getId, getName, getState |
Methods inherited from interface org.codehaus.cargo.util.log.Loggable |
---|
getLogger |
Methods inherited from interface org.codehaus.cargo.container.internal.RunnableContainer |
---|
getOutput, getTimeout, isAppend, setAppend, setOutput, setTimeout, start, stop |
Constructor Detail |
---|
public AbstractCatalinaInstalledLocalContainer(LocalConfiguration configuration)
LocalConfiguration.configure(org.codehaus.cargo.container.LocalContainer)
Method Detail |
---|
protected final java.lang.String getVersion(java.lang.String defaultVersion)
defaultVersion
- default version to use if we cannot find out the exact Tomcat version
null
if the version number could not be retrievedprotected final void invokeContainer(java.lang.String action, org.apache.tools.ant.taskdefs.Java java) throws java.lang.Exception
invokeContainer
in class AbstractTomcatInstalledLocalContainer
action
- Either 'start' or 'stop'java
- the prepared Ant Java command that will be executed
java.lang.Exception
- in case of container invocation errorAbstractTomcatInstalledLocalContainer.invokeContainer(String, Java)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |