org.codehaus.cargo.container.geronimo
Class Geronimo1xInstalledLocalContainer
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.geronimo.Geronimo1xInstalledLocalContainer
- All Implemented Interfaces:
- Container, InstalledLocalContainer, RunnableContainer, SpawnedContainer, LocalContainer, Loggable
public class Geronimo1xInstalledLocalContainer
- extends AbstractInstalledLocalContainer
Geronimo 1.x series container implementation.
- Version:
- $Id: Geronimo1xInstalledLocalContainer.java 1159 2006-07-29 12:23:11Z vmassol $
Field Summary |
static java.lang.String |
ID
Geronimo 1.x series unique id. |
Method Summary |
protected void |
doStart(org.apache.tools.ant.taskdefs.Java java)
|
protected void |
doStop(org.apache.tools.ant.taskdefs.Java java)
|
ContainerCapability |
getCapability()
|
java.lang.String |
getId()
|
java.lang.String |
getName()
|
protected java.lang.String |
getVersion(java.lang.String defaultVersion)
Parse installed Geronimo version. |
protected void |
waitForCompletion(boolean waitForStarting)
Replace default CPC progress monitor by a log progress monitor. |
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, verify |
Methods inherited from class org.codehaus.cargo.container.spi.AbstractLocalContainer |
getConfiguration, getFileHandler, getOutput, getState, getTimeout, isAppend, setAppend, setConfiguration, setFileHandler, setOutput, setState, setTimeout, start, stop |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ID
public static final java.lang.String ID
- Geronimo 1.x series unique id.
- See Also:
- Constant Field Values
Geronimo1xInstalledLocalContainer
public Geronimo1xInstalledLocalContainer(LocalConfiguration configuration)
-
- See Also:
AbstractInstalledLocalContainer.AbstractInstalledLocalContainer(org.codehaus.cargo.container.configuration.LocalConfiguration)
getId
public java.lang.String getId()
-
- See Also:
Container.getId()
getName
public java.lang.String getName()
-
- See Also:
Container.getName()
doStart
protected void doStart(org.apache.tools.ant.taskdefs.Java java)
throws java.lang.Exception
-
- Specified by:
doStart
in class AbstractInstalledLocalContainer
- Throws:
java.lang.Exception
- See Also:
AbstractInstalledLocalContainer.doStart(org.apache.tools.ant.taskdefs.Java)
doStop
protected void doStop(org.apache.tools.ant.taskdefs.Java java)
throws java.lang.Exception
-
- Specified by:
doStop
in class AbstractInstalledLocalContainer
- Throws:
java.lang.Exception
- See Also:
AbstractInstalledLocalContainer.doStop(org.apache.tools.ant.taskdefs.Java)
waitForCompletion
protected void waitForCompletion(boolean waitForStarting)
throws java.lang.InterruptedException
- Replace default CPC progress monitor by a log progress monitor.
- Overrides:
waitForCompletion
in class AbstractLocalContainer
- Throws:
java.lang.InterruptedException
- See Also:
AbstractLocalContainer.waitForCompletion(boolean)
getCapability
public ContainerCapability getCapability()
-
- See Also:
Container.getCapability()
getVersion
protected final java.lang.String getVersion(java.lang.String defaultVersion)
- Parse installed Geronimo version.
- Parameters:
defaultVersion
- the default version used if the exact Geronimo version can't be
determined
- Returns:
- the Geronimo version, or
defaultVersion
if the version number could not
be determined
Copyright © 2004-2011 Codehaus. All Rights Reserved.