public class Jonas4xInstalledLocalContainer extends AbstractJonasInstalledLocalContainer
| Constructor and Description |
|---|
Jonas4xInstalledLocalContainer(LocalConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
void |
doAction(JvmLauncher java)
Configuring the target java ant task to launch a JOnAS command.
|
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() |
String |
getId() |
String |
getName() |
protected void |
setupExtraSysProps(JvmLauncher java,
Map<String,String> configuredSysProps)
Setup of the Extra required java system properties to configure JOnAS properly.
|
protected void |
waitForCompletion(boolean waitForStarting)
Ping the WAR CPC to verify if the container is started or stopped.
|
addSysProp, doServerAndDomainNameArgs, doServerAndDomainNameParam, setupSysPropsaddExtraClasspath, 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, stopgetLoggerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConfiguration, getFileHandler, setConfiguration, setFileHandlergetOutput, getTimeout, isAppend, restart, setAppend, setOutput, setTimeout, start, stoppublic Jonas4xInstalledLocalContainer(LocalConfiguration configuration)
public void doStart(JvmLauncher java)
RunnableContainer.start() that all
containers extending this class must implement.doStart in class AbstractJonasInstalledLocalContainerjava - the predefined JVM launcher to use to start the containerAbstractJonasInstalledLocalContainer.doStart(JvmLauncher)public void doStop(JvmLauncher java)
RunnableContainer.stop() that all
containers extending this class must implement.doStop in class AbstractJonasInstalledLocalContainerjava - the predefined JVM launcher to use to stop the containerAbstractJonasInstalledLocalContainer.doStop(JvmLauncher)protected void waitForCompletion(boolean waitForStarting)
throws InterruptedException
waitForCompletion in class AbstractLocalContainerwaitForStarting - if true then wait for container start, if false wait for container
stopInterruptedException - if the thread sleep is interruptedAbstractLocalContainer.waitForCompletion(boolean)protected void setupExtraSysProps(JvmLauncher java, Map<String,String> configuredSysProps)
setupExtraSysProps in class AbstractJonasInstalledLocalContainerjava - the target JVM launcher to setupconfiguredSysProps - the configured system propertiesAbstractJonasInstalledLocalContainer.setupExtraSysProps(JvmLauncher, Map)public void doAction(JvmLauncher java)
java - the target JVM launcher to setuppublic ContainerCapability getCapability()
ContainerCapability of the container in term of ability to deploy such
and such type of Deployables (eg WAR, EAR,
etc).public String getId()
Container.getId()public String getName()
Container.getName()Copyright © 2004-2013 Codehaus. All Rights Reserved.