public abstract class AbstractJRunInstalledLocalContainer extends AbstractInstalledLocalContainer
| Constructor and Description |
|---|
AbstractJRunInstalledLocalContainer(LocalConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
void |
doStart(JvmLauncher java)
Implementation of
RunnableContainer.start() that all
containers extending this class must implement. |
void |
doStop(JvmLauncher java)
Implementation of
RunnableContainer.stop() that all
containers extending this class must implement. |
ContainerCapability |
getCapability() |
protected String |
getVersion(String defaultVersion) |
protected abstract void |
startUpAdditions(JvmLauncher java)
Allow specific version implementations to add custom settings to the Java container that will
be started.
|
addExtraClasspath, addExtraClasspath, addMemoryArguments, addRuntimeArgs, addSharedClasspath, addToolsJarToClasspath, createJvmLauncher, forceStopInternal, getAntUtils, getExtraClasspath, getHome, getHttpUtils, getJavaHome, getJdkUtils, getJvmLauncherFactory, getResourceUtils, getSharedClasspath, getSystemProperties, getType, ifPresentAddPathToList, setExtraClasspath, setHome, setJvmLauncherFactory, setJvmToLaunchContainerIn, setLogger, setSharedClasspath, setSystemProperties, startInternal, stopInternal, verifyexecutePostStartTasks, getConfiguration, getFileHandler, getOutput, getState, getTimeout, isAppend, restart, setAppend, setConfiguration, setFileHandler, setOutput, setState, setTimeout, start, stop, waitForCompletiongetLoggerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConfiguration, getFileHandler, setConfiguration, setFileHandlergetOutput, getTimeout, isAppend, restart, setAppend, setOutput, setTimeout, start, stoppublic AbstractJRunInstalledLocalContainer(LocalConfiguration configuration)
public ContainerCapability getCapability()
ContainerCapability of the container in term of ability to deploy such
and such type of Deployables (eg WAR, EAR,
etc).Container.getCapability()public void doStart(JvmLauncher java) throws Exception
RunnableContainer.start() that all
containers extending this class must implement.doStart in class AbstractInstalledLocalContainerjava - the predefined JVM launcher to use to start the containerException - if any error is raised during the container startAbstractInstalledLocalContainer.doStart(JvmLauncher)public void doStop(JvmLauncher java) throws Exception
RunnableContainer.stop() that all
containers extending this class must implement.doStop in class AbstractInstalledLocalContainerjava - the predefined JVM launcher to use to stop the containerException - if any error is raised during the container stopAbstractInstalledLocalContainer.doStop(JvmLauncher)protected abstract void startUpAdditions(JvmLauncher java) throws FileNotFoundException
java - the JVM launcher that will start the containerFileNotFoundException - in case the Tools jar cannot be foundCopyright © 2004-2013 Codehaus. All Rights Reserved.