public abstract class AbstractJBossInstalledLocalContainer extends AbstractInstalledLocalContainer implements JBossInstalledLocalContainer
Constructor and Description |
---|
AbstractJBossInstalledLocalContainer(LocalConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
protected void |
doStart(org.apache.tools.ant.taskdefs.Java java) |
protected void |
doStop(org.apache.tools.ant.taskdefs.Java java) |
ContainerCapability |
getCapability() |
String |
getConfDir(String configurationName) |
String |
getDeployDir(String configurationName) |
String |
getLibDir(String configurationName) |
protected String |
getSpecificConfigurationDir(String location,
String configurationName) |
protected String |
getVersion(String defaultVersion)
Parse installed JBoss version.
|
protected void |
verify() |
protected void |
verifyJBossHome()
Verify that the JBoss directory structure is valid and throw a ContainerException if not.
|
addExtraClasspath, addSharedClasspath, addToolsJarToClasspath, getAntUtils, getExtraClasspath, getHome, getHttpUtils, getJdkUtils, getResourceUtils, getSharedClasspath, getSystemProperties, getType, ifPresentAddPathToList, setExtraClasspath, setHome, setJvmToLaunchContainerIn, setLogger, setSharedClasspath, setSystemProperties, startInternal, stopInternal
getConfiguration, getFileHandler, getOutput, getState, getTimeout, isAppend, setAppend, setConfiguration, setFileHandler, setOutput, setState, setTimeout, start, stop, waitForCompletion
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getHome, setHome
getConfiguration, getFileHandler, setConfiguration, setFileHandler
getId, getName, getState, getType
getOutput, getTimeout, isAppend, setAppend, setOutput, setTimeout, start, stop
addExtraClasspath, addSharedClasspath, getExtraClasspath, getSharedClasspath, getSystemProperties, setExtraClasspath, setSharedClasspath, setSystemProperties
public AbstractJBossInstalledLocalContainer(LocalConfiguration configuration)
protected void doStart(org.apache.tools.ant.taskdefs.Java java) throws Exception
doStart
in class AbstractInstalledLocalContainer
Exception
AbstractInstalledLocalContainer.doStart(Java)
protected void doStop(org.apache.tools.ant.taskdefs.Java java) throws Exception
doStop
in class AbstractInstalledLocalContainer
Exception
AbstractInstalledLocalContainer.doStop(Java)
protected final void verify()
verify
in class AbstractInstalledLocalContainer
AbstractLocalContainer.verify()
public ContainerCapability getCapability()
getCapability
in interface Container
Container.getCapability()
protected final 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 determinedpublic String getConfDir(String configurationName)
getConfDir
in interface JBossInstalledLocalContainer
configurationName
- the JBoss server configuration name for which to return the conf dirJBossInstalledLocalContainer.getConfDir(String)
public String getLibDir(String configurationName)
getLibDir
in interface JBossInstalledLocalContainer
configurationName
- the JBoss server configuration name for which to return the conf dirJBossInstalledLocalContainer.getLibDir(String)
public String getDeployDir(String configurationName)
getDeployDir
in interface JBossInstalledLocalContainer
configurationName
- the JBoss server configuration name for which to return the conf dirJBossInstalledLocalContainer.getDeployDir(String)
protected String getSpecificConfigurationDir(String location, String configurationName)
location
- the name of the directory to return inside the server configurationconfigurationName
- the server configuration name to use. A server configuration is
located in the server/
directory inside the JBoss installation ir.protected void verifyJBossHome()
ContainerException
- if anyCopyright © 2004-2013 Codehaus. All Rights Reserved.