org.codehaus.cargo.container.jboss.internal
Class AbstractJBoss5xInstalledLocalContainer

java.lang.Object
  extended by org.codehaus.cargo.util.log.LoggedObject
      extended by org.codehaus.cargo.container.spi.AbstractContainer
          extended by org.codehaus.cargo.container.spi.AbstractLocalContainer
              extended by org.codehaus.cargo.container.spi.AbstractInstalledLocalContainer
                  extended by org.codehaus.cargo.container.jboss.internal.AbstractJBossInstalledLocalContainer
                      extended by org.codehaus.cargo.container.jboss.internal.AbstractJBoss5xInstalledLocalContainer
All Implemented Interfaces:
Container, InstalledLocalContainer, RunnableContainer, SpawnedContainer, JBoss5xInstalledLocalContainer, JBossInstalledLocalContainer, LocalContainer, Loggable
Direct Known Subclasses:
JBoss5xInstalledLocalContainer

public abstract class AbstractJBoss5xInstalledLocalContainer
extends AbstractJBossInstalledLocalContainer
implements JBoss5xInstalledLocalContainer

Abstract class for JBoss 5x container family.

Version:
$Id: AbstractJBoss5xInstalledLocalContainer.java 1843 2008-12-10 17:15:32Z mwringe $

Constructor Summary
AbstractJBoss5xInstalledLocalContainer(LocalConfiguration configuration)
          
 
Method Summary
protected  void doStart(org.apache.tools.ant.taskdefs.Java java)
          Implementation of RunnableContainer.start() that all containers extending this class must implement.
 String getCommonLibDir()
          Return the location of the common lib directory.
 String getDeployersDir(String configurationName)
          
 
Methods inherited from class org.codehaus.cargo.container.jboss.internal.AbstractJBossInstalledLocalContainer
doStop, getCapability, getConfDir, getDeployDir, getLibDir, getSpecificConfigurationDir, getVersion, verify, verifyJBossHome
 
Methods inherited from class org.codehaus.cargo.container.spi.AbstractInstalledLocalContainer
addExtraClasspath, addSharedClasspath, addToolsJarToClasspath, getAntUtils, getExtraClasspath, getHome, getHttpUtils, getJdkUtils, getResourceUtils, getSharedClasspath, getSystemProperties, getType, ifPresentAddPathToList, setExtraClasspath, setHome, setJvmToLaunchContainerIn, setLogger, setSharedClasspath, setSystemProperties, startInternal, stopInternal
 
Methods inherited from class org.codehaus.cargo.container.spi.AbstractLocalContainer
getConfiguration, getFileHandler, getOutput, getState, getTimeout, isAppend, setAppend, setConfiguration, setFileHandler, setOutput, setState, setTimeout, start, stop, waitForCompletion
 
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.jboss.internal.JBossInstalledLocalContainer
getConfDir, getDeployDir, getLibDir
 
Methods inherited from interface org.codehaus.cargo.container.InstalledLocalContainer
getHome, setHome
 
Methods inherited from interface org.codehaus.cargo.container.LocalContainer
getConfiguration, getFileHandler, setConfiguration, setFileHandler
 
Methods inherited from interface org.codehaus.cargo.container.Container
getCapability, getId, getName, getState, getType
 
Methods inherited from interface org.codehaus.cargo.util.log.Loggable
getLogger, setLogger
 
Methods inherited from interface org.codehaus.cargo.container.internal.RunnableContainer
getOutput, getTimeout, isAppend, setAppend, setOutput, setTimeout, start, stop
 
Methods inherited from interface org.codehaus.cargo.container.internal.SpawnedContainer
addExtraClasspath, addSharedClasspath, getExtraClasspath, getSharedClasspath, getSystemProperties, setExtraClasspath, setSharedClasspath, setSystemProperties
 

Constructor Detail

AbstractJBoss5xInstalledLocalContainer

public AbstractJBoss5xInstalledLocalContainer(LocalConfiguration configuration)

See Also:
AbstractJBossInstalledLocalContainer.AbstractJBossInstalledLocalContainer(org.codehaus.cargo.container.configuration.LocalConfiguration)
Method Detail

doStart

protected void doStart(org.apache.tools.ant.taskdefs.Java java)
                throws Exception
Implementation of RunnableContainer.start() that all containers extending this class must implement.

Overrides:
doStart in class AbstractJBossInstalledLocalContainer
Parameters:
java - the predefined Ant Java command to use to start the container
Throws:
Exception - if any error is raised during the container start
See Also:
AbstractInstalledLocalContainer.doStart(Java)

getDeployersDir

public String getDeployersDir(String configurationName)

Specified by:
getDeployersDir in 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

getCommonLibDir

public String getCommonLibDir()
Return the location of the common lib directory.

Specified by:
getCommonLibDir in interface JBoss5xInstalledLocalContainer
Returns:
The common lib directory located under the container's home installation directory


Copyright © 2004-2012 Codehaus. All Rights Reserved.