public abstract class AbstractTomcatInstalledLocalContainer extends AbstractInstalledLocalContainer
| Constructor and Description |
|---|
AbstractTomcatInstalledLocalContainer(LocalConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
void |
doStart(org.apache.tools.ant.taskdefs.Java java) |
void |
doStop(org.apache.tools.ant.taskdefs.Java java) |
ContainerCapability |
getCapability() |
protected abstract 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.
|
addToolsJarToClasspath, getAntUtils, getExtraClasspath, getFileHandler, getHome, getHttpUtils, getJdkUtils, getResourceUtils, getSystemProperties, getType, setExtraClasspath, setFileHandler, setHome, setLogger, setSystemProperties, startInternal, stopInternal, verifygetConfiguration, getOutput, getState, getTimeout, isAppend, setAppend, setConfiguration, setOutput, setState, setTimeout, start, stop, waitForCompletionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConfiguration, setConfigurationgetOutput, getTimeout, isAppend, setAppend, setOutput, setTimeout, start, stoppublic AbstractTomcatInstalledLocalContainer(LocalConfiguration configuration)
public ContainerCapability getCapability()
Container.getCapability()protected abstract void invokeContainer(String action, org.apache.tools.ant.taskdefs.Java java) throws Exception
action - Either 'start' or 'stop'java - the prepared Ant Java command that will be executedException - in case of container invocation errorpublic final void doStart(org.apache.tools.ant.taskdefs.Java java)
throws Exception
doStart in class AbstractInstalledLocalContainerExceptionAbstractInstalledLocalContainer.doStart(Java)public final void doStop(org.apache.tools.ant.taskdefs.Java java)
throws Exception
doStop in class AbstractInstalledLocalContainerExceptionAbstractInstalledLocalContainer.doStop(Java)Copyright © 2004-2013 Codehaus. All Rights Reserved.