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 SummaryConstructors Constructor Description AbstractJBoss5xInstalledLocalContainer(LocalConfiguration configuration)
 - 
Method SummaryAll 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.AbstractJBossInstalledLocalContainerdoStop, getConfDir, getDeployDir, getJBossLogLevel, getLibDir, getSpecificConfigurationDir, getVersion, verify, verifyJBossHome
 - 
Methods inherited from class org.codehaus.cargo.container.spi.AbstractInstalledLocalContaineraddExtraClasspath, 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.AbstractLocalContainerexecutePostStartTasks, 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.LoggedObjectgetLogger
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.codehaus.cargo.container.ContainergetId, getName, getState, getType
 - 
Methods inherited from interface org.codehaus.cargo.container.InstalledLocalContainergetHome, setHome
 - 
Methods inherited from interface org.codehaus.cargo.container.jboss.internal.JBossInstalledLocalContainergetConfDir, getDeployDir, getLibDir
 - 
Methods inherited from interface org.codehaus.cargo.container.LocalContainergetConfiguration, getFileHandler, setConfiguration, setFileHandler
 - 
Methods inherited from interface org.codehaus.cargo.container.internal.RunnableContainergetOutput, getTimeout, isAppend, restart, setAppend, setOutput, setTimeout, start, stop
 - 
Methods inherited from interface org.codehaus.cargo.container.internal.SpawnedContaineraddExtraClasspath, addSharedClasspath, getExtraClasspath, getJvmLauncherFactory, getSharedClasspath, getSystemProperties, setExtraClasspath, setJvmLauncherFactory, setSharedClasspath, setSystemProperties
 
- 
 
- 
- 
- 
Constructor Detail- 
AbstractJBoss5xInstalledLocalContainerpublic AbstractJBoss5xInstalledLocalContainer(LocalConfiguration configuration) 
 
- 
 - 
Method Detail- 
doStartprotected void doStart(JvmLauncher java) throws Exception Implementation ofRunnableContainer.start()that all containers extending this class must implement.- Overrides:
- doStartin class- AbstractJBossInstalledLocalContainer
- Parameters:
- java- the predefined JVM launcher to use to start the container
- Throws:
- Exception- if any error is raised during the container start
 
 - 
getDeployersDirpublic String getDeployersDir(String configurationName) - Specified by:
- getDeployersDirin interface- JBoss5xInstalledLocalContainer
- 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
 
 - 
getCommonLibDirpublic String getCommonLibDir() Return the location of the common lib directory.- Specified by:
- getCommonLibDirin interface- JBoss5xInstalledLocalContainer
- Returns:
- The common lib directory located under the container's home installation directory
 
 - 
getCapabilitypublic ContainerCapability getCapability() - Specified by:
- getCapabilityin interface- Container
- Overrides:
- getCapabilityin class- AbstractJBossInstalledLocalContainer
- Returns:
- the ContainerCapabilityof the container in term of ability to deploy such and such type ofDeployables (eg WAR, EAR, etc).
 
 
- 
 
-