org.codehaus.cargo.container.jboss.internal
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:
- 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 $
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractJBoss5xInstalledLocalContainer
public AbstractJBoss5xInstalledLocalContainer(LocalConfiguration configuration)
-
- See Also:
AbstractJBossInstalledLocalContainer.AbstractJBossInstalledLocalContainer(org.codehaus.cargo.container.configuration.LocalConfiguration)
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.