public abstract class AbstractJBossContainerUtil extends AbstractInstalledContainerUtil
| Modifier and Type | Field and Description |
|---|---|
protected String |
configurationName
The name of the JBOSS configuration to use.
|
cargoLogFilePath, configResourcesPath, containerFile, containerHome, containerPort, deployableLocationConfigurations, deployableLocations, installedLocalContainer, jvmArguments, remoteLocation, systemProperties| Constructor and Description |
|---|
AbstractJBossContainerUtil()
Default constructor that will detect which OS is used to make sure the
JBOSS will be downloaded in the correct location.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
copyResourceFile(String fileName,
String destinationDirectory) |
protected void |
copyResourceFileToConfDir(String fileName)
Copies the specified resource file to the configuration directory of
JBoss.
|
protected void |
deploy()
Deploys the application to the correct
|
protected List<String> |
findConfigurationFiles(String suffix)
Searches for configuration files with the specified suffix.
|
String |
getConfDirectory()
Retrieves the directory where the configuration files are located from
the specific container.
|
String |
getSharedLibDirectory()
Retrieves the directory where shared libraries can be copied to.
|
void |
setAutoDetect(boolean autoDetect) |
void |
setConfigurationName(String configurationName) |
void |
setContainerConfigurationFile(String containerConfigurationFile) |
void |
setJnpPort(Integer jnpPort) |
protected void |
setupContainer()
Installs the container and the application configuration.
|
addDeployableLocation, getConfigResourcesPath, getContainerPort, getJvmArguments, setCargoLogFilePath, setCleanUpAfterContainerStopped, setConfigResourcesPath, setContainerFile, setContainerName, setContainerPort, setDeployableLocationConfigurations, setDeployableLocations, setJvmArguments, setRemoteLocation, setSystemProperties, setupConfiguration, setupContainerHome, start, stopprotected String configurationName
public AbstractJBossContainerUtil()
protected void setupContainer()
setupContainer in class AbstractInstalledContainerUtilprotected List<String> findConfigurationFiles(String suffix)
suffix - The file suffix.protected void copyResourceFileToConfDir(String fileName)
fileName - The file name that needs to be copied.protected void deploy()
AbstractInstalledContainerUtildeploy in class AbstractInstalledContainerUtilpublic void setContainerConfigurationFile(String containerConfigurationFile)
containerConfigurationFile - the containerConfigurationFile to setpublic void setConfigurationName(String configurationName)
configurationName - the configurationName to setpublic void setJnpPort(Integer jnpPort)
jnpPort - the jnpPort to setpublic String getSharedLibDirectory()
ContainerUtilpublic String getConfDirectory()
ContainerUtilpublic void setAutoDetect(boolean autoDetect)
autoDetect - the autoDetect to setCopyright © 2014 Tranquilized Quality. All rights reserved.