public class Jo1xInstalledLocalContainer extends AbstractInstalledLocalContainer
Modifier and Type | Field and Description |
---|---|
static String |
ID
Unique container id.
|
static String |
NAME
Container name (humand-readable name).
|
Constructor and Description |
---|
Jo1xInstalledLocalContainer(LocalConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
void |
doStart(org.apache.tools.ant.taskdefs.Java java)
Implementation of
RunnableContainer.start() to all
container extending this class must implement. |
void |
doStop(org.apache.tools.ant.taskdefs.Java java)
Implementation of
RunnableContainer.stop() to all container
extending this class must implement. |
ContainerCapability |
getCapability() |
String |
getId() |
String |
getName() |
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 static final String ID
public static final String NAME
public Jo1xInstalledLocalContainer(LocalConfiguration configuration)
public void doStart(org.apache.tools.ant.taskdefs.Java java) throws Exception
RunnableContainer.start()
to all
container extending this class must implement.doStart
in class AbstractInstalledLocalContainer
java
- the predefined Ant Java
command to use to start the containerException
- if any error is raised during the container startpublic void doStop(org.apache.tools.ant.taskdefs.Java java) throws Exception
RunnableContainer.stop()
to all container
extending this class must implement.doStop
in class AbstractInstalledLocalContainer
java
- the predefined Ant Java
command to use to stop the containerException
- if any error is raised during the container stoppublic String getId()
Container.getId()
public String getName()
Container.getName()
public ContainerCapability getCapability()
ContainerCapability
of the container in
term of ability to deploy such and such type of
Deployable
s (eg WAR, EAR, etc).Copyright © 2004-2013 Codehaus. All Rights Reserved.