public abstract class AbstractCatalinaInstalledLocalContainer extends AbstractTomcatInstalledLocalContainer
Constructor and Description |
---|
AbstractCatalinaInstalledLocalContainer(LocalConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
protected String |
getVersion(String defaultVersion)
Returns the version of the Tomcat installation.
|
protected void |
invokeContainer(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.
|
doStart, doStop, getCapability
addToolsJarToClasspath, getAntUtils, getExtraClasspath, getFileHandler, getHome, getHttpUtils, getJdkUtils, getResourceUtils, getSystemProperties, getType, setExtraClasspath, setFileHandler, setHome, setLogger, setSystemProperties, startInternal, stopInternal, verify
getConfiguration, getOutput, getState, getTimeout, isAppend, setAppend, setConfiguration, setOutput, setState, setTimeout, start, stop, waitForCompletion
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConfiguration, setConfiguration
getOutput, getTimeout, isAppend, setAppend, setOutput, setTimeout, start, stop
public AbstractCatalinaInstalledLocalContainer(LocalConfiguration configuration)
protected final String getVersion(String defaultVersion)
defaultVersion
- default version to use if we cannot find out the exact Tomcat versionnull
if the version number could not be retrievedprotected final void invokeContainer(String action, org.apache.tools.ant.taskdefs.Java java) throws Exception
invokeContainer
in class AbstractTomcatInstalledLocalContainer
action
- Either 'start' or 'stop'java
- the prepared Ant Java command that will be executedException
- in case of container invocation errorAbstractTomcatInstalledLocalContainer.invokeContainer(String, Java)
Copyright © 2004-2013 Codehaus. All Rights Reserved.