public class JBoss7xInstalledLocalContainer extends AbstractInstalledLocalContainer
| Modifier and Type | Field and Description |
|---|---|
static String |
ID
JBoss 7.x series unique id.
|
protected String |
version
JBoss version.
|
| Constructor and Description |
|---|
JBoss7xInstalledLocalContainer(LocalConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addRuntimeArgs(JvmLauncher java)
Add command line arguments to the java command.
|
protected void |
doStart(JvmLauncher java)
Implementation of
RunnableContainer.start() that all
containers extending this class must implement. |
protected void |
doStop(JvmLauncher java)
Implementation of
RunnableContainer.stop() that all
containers extending this class must implement. |
ContainerCapability |
getCapability() |
String |
getId() |
String |
getName() |
protected String |
getVersion(String defaultVersion)
Parse installed JBoss version.
|
protected void |
setProperties(JvmLauncher java)
Set the properties on the JVM launcher.
CARGO-1111: To allow JBoss 7.x and onwards to be accessed from remote machines, the system property jboss.bind.address |
addExtraClasspath, addExtraClasspath, addMemoryArguments, 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, setAppend, setConfiguration, setFileHandler, setOutput, setState, setTimeout, start, stop, waitForCompletion, waitForPortShutdowngetLoggerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConfiguration, getFileHandler, setConfiguration, setFileHandlergetOutput, getTimeout, isAppend, setAppend, setOutput, setTimeout, start, stoppublic static final String ID
protected String version
public JBoss7xInstalledLocalContainer(LocalConfiguration configuration)
public 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 Deployables (eg WAR, EAR,
etc).Container.getCapability()protected String getVersion(String defaultVersion)
defaultVersion - the default version used if the exact JBoss version can't be determineddefaultVersion if the version number could not be
determinedprotected void addRuntimeArgs(JvmLauncher java)
addRuntimeArgs in class AbstractInstalledLocalContainerjava - The java commandprotected 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 startprotected 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 stopprotected void setProperties(JvmLauncher java) throws MalformedURLException
jboss.bind.address must be set.java - JVM launcher to set the properties on.MalformedURLException - If URL construction fails.Copyright © 2004-2013 Codehaus. All Rights Reserved.