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, 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 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 AbstractInstalledLocalContainer
Exception
AbstractInstalledLocalContainer.doStart(Java)
public final void doStop(org.apache.tools.ant.taskdefs.Java java) throws Exception
doStop
in class AbstractInstalledLocalContainer
Exception
AbstractInstalledLocalContainer.doStop(Java)
Copyright © 2004-2013 Codehaus. All Rights Reserved.