Class AbstractJBoss5xInstalledLocalContainer
- java.lang.Object
-
- org.codehaus.cargo.util.log.LoggedObject
-
- org.codehaus.cargo.container.spi.AbstractContainer
-
- org.codehaus.cargo.container.spi.AbstractLocalContainer
-
- org.codehaus.cargo.container.spi.AbstractInstalledLocalContainer
-
- org.codehaus.cargo.container.jboss.internal.AbstractJBossInstalledLocalContainer
-
- org.codehaus.cargo.container.jboss.internal.AbstractJBoss5xInstalledLocalContainer
-
- All Implemented Interfaces:
Container,InstalledLocalContainer,RunnableContainer,SpawnedContainer,JBoss5xInstalledLocalContainer,JBossInstalledLocalContainer,LocalContainer,Loggable
- Direct Known Subclasses:
JBoss51xInstalledLocalContainer,JBoss5xInstalledLocalContainer,JBoss6xInstalledLocalContainer
public abstract class AbstractJBoss5xInstalledLocalContainer extends AbstractJBossInstalledLocalContainer implements JBoss5xInstalledLocalContainer
Abstract class for JBoss 5x container family.
-
-
Constructor Summary
Constructors Constructor Description AbstractJBoss5xInstalledLocalContainer(LocalConfiguration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoStart(JvmLauncher java)Implementation ofRunnableContainer.start()that all containers extending this class must implement.ContainerCapabilitygetCapability()StringgetCommonLibDir()Return the location of the common lib directory.StringgetDeployersDir(String configurationName)-
Methods inherited from class org.codehaus.cargo.container.jboss.internal.AbstractJBossInstalledLocalContainer
doStop, getConfDir, getDeployDir, getJBossLogLevel, getLibDir, getSpecificConfigurationDir, getVersion, verify, verifyJBossHome
-
Methods inherited from class org.codehaus.cargo.container.spi.AbstractInstalledLocalContainer
addExtraClasspath, addExtraClasspath, addMemoryArguments, addRuntimeArgs, addSharedClasspath, addToolsJarToClasspath, createJvmLauncher, forceStopInternal, getExtraClasspath, getHome, getHttpUtils, getJavaHome, getJvmLauncherFactory, getResourceUtils, getSharedClasspath, getSystemProperties, getType, ifPresentAddPathToList, setExtraClasspath, setHome, setJvmLauncherFactory, setJvmToLaunchContainerIn, setLogger, setSharedClasspath, setSystemProperties, startInternal, stopInternal
-
Methods inherited from class org.codehaus.cargo.container.spi.AbstractLocalContainer
executePostStartTasks, getConfiguration, getFileHandler, getOutput, getState, getTimeout, isAppend, restart, setAppend, setConfiguration, setFileHandler, setOutput, setState, setTimeout, start, stop, waitForCompletion, waitForPortShutdown, waitForStarting
-
Methods inherited from class org.codehaus.cargo.util.log.LoggedObject
getLogger
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.codehaus.cargo.container.Container
getId, getName, getState, getType
-
Methods inherited from interface org.codehaus.cargo.container.InstalledLocalContainer
getHome, setHome
-
Methods inherited from interface org.codehaus.cargo.container.jboss.internal.JBossInstalledLocalContainer
getConfDir, getDeployDir, getLibDir
-
Methods inherited from interface org.codehaus.cargo.container.LocalContainer
getConfiguration, getFileHandler, setConfiguration, setFileHandler
-
Methods inherited from interface org.codehaus.cargo.container.internal.RunnableContainer
getOutput, getTimeout, isAppend, restart, setAppend, setOutput, setTimeout, start, stop
-
Methods inherited from interface org.codehaus.cargo.container.internal.SpawnedContainer
addExtraClasspath, addSharedClasspath, getExtraClasspath, getJvmLauncherFactory, getSharedClasspath, getSystemProperties, setExtraClasspath, setJvmLauncherFactory, setSharedClasspath, setSystemProperties
-
-
-
-
Constructor Detail
-
AbstractJBoss5xInstalledLocalContainer
public AbstractJBoss5xInstalledLocalContainer(LocalConfiguration configuration)
-
-
Method Detail
-
doStart
protected void doStart(JvmLauncher java) throws Exception
Implementation ofRunnableContainer.start()that all containers extending this class must implement.- Overrides:
doStartin classAbstractJBossInstalledLocalContainer- Parameters:
java- the predefined JVM launcher to use to start the container- Throws:
Exception- if any error is raised during the container start
-
getDeployersDir
public String getDeployersDir(String configurationName)
- Specified by:
getDeployersDirin interfaceJBoss5xInstalledLocalContainer- Parameters:
configurationName- the JBoss server configuration name for which to return the deployer dir.- Returns:
- The deployer directory located under the container's home installation directory
-
getCommonLibDir
public String getCommonLibDir()
Return the location of the common lib directory.- Specified by:
getCommonLibDirin interfaceJBoss5xInstalledLocalContainer- Returns:
- The common lib directory located under the container's home installation directory
-
getCapability
public ContainerCapability getCapability()
- Specified by:
getCapabilityin interfaceContainer- Overrides:
getCapabilityin classAbstractJBossInstalledLocalContainer- Returns:
- the
ContainerCapabilityof the container in term of ability to deploy such and such type ofDeployables (eg WAR, EAR, etc).
-
-