org.mule.tools.cargo.container
Class Mule3xInstalledLocalContainer
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.mule.tools.cargo.container.Mule3xInstalledLocalContainer
- All Implemented Interfaces:
- org.codehaus.cargo.container.Container, org.codehaus.cargo.container.InstalledLocalContainer, org.codehaus.cargo.container.internal.RunnableContainer, org.codehaus.cargo.container.internal.SpawnedContainer, org.codehaus.cargo.container.LocalContainer, org.codehaus.cargo.util.log.Loggable
public class Mule3xInstalledLocalContainer
- extends org.codehaus.cargo.container.spi.AbstractInstalledLocalContainer
Start an embedded MuleServer using maven dependencies.
Configured MuleApplicationDeployable is deployed on startup.
|
Field Summary |
static java.lang.String |
ID
|
static java.lang.String |
NAME
|
| Methods inherited from class org.codehaus.cargo.container.spi.AbstractInstalledLocalContainer |
addExtraClasspath, addMemoryArguments, addSharedClasspath, addToolsJarToClasspath, createJvmLauncher, getAntUtils, getExtraClasspath, getHome, getHttpUtils, getJavaHome, getJdkUtils, getJvmLauncherFactory, getResourceUtils, getSharedClasspath, getSystemProperties, getType, ifPresentAddPathToList, setExtraClasspath, setHome, setJvmLauncherFactory, 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, waitForPortShutdown |
| 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.LocalContainer |
getConfiguration, getFileHandler, setConfiguration, setFileHandler |
| Methods inherited from interface org.codehaus.cargo.container.Container |
getState |
| Methods inherited from interface org.codehaus.cargo.util.log.Loggable |
getLogger |
| Methods inherited from interface org.codehaus.cargo.container.internal.RunnableContainer |
getOutput, getTimeout, isAppend, setAppend, setOutput, setTimeout, start, stop |
ID
public static final java.lang.String ID
- See Also:
- Constant Field Values
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
Mule3xInstalledLocalContainer
public Mule3xInstalledLocalContainer(org.codehaus.cargo.container.configuration.LocalConfiguration configuration)
getId
public java.lang.String getId()
getName
public java.lang.String getName()
getCapability
public org.codehaus.cargo.container.ContainerCapability getCapability()
createContainerSystemClassLoader
protected final java.net.URLClassLoader createContainerSystemClassLoader()
throws java.lang.Exception
- Throws:
java.lang.Exception
createContainer
protected org.mule.module.launcher.MuleContainer createContainer()
- Returns:
- a new
MuleContainer
ensureValidMuleHome
protected final void ensureValidMuleHome(java.lang.String home)
doStart
protected void doStart(org.codehaus.cargo.container.spi.jvm.JvmLauncher launcher)
throws java.lang.Exception
- Specified by:
doStart in class org.codehaus.cargo.container.spi.AbstractInstalledLocalContainer
- Throws:
java.lang.Exception
waitForCompletion
protected void waitForCompletion(boolean waitForStarting)
throws java.lang.InterruptedException
- Overrides:
waitForCompletion in class org.codehaus.cargo.container.spi.AbstractLocalContainer
- Throws:
java.lang.InterruptedException
doStop
protected void doStop(org.codehaus.cargo.container.spi.jvm.JvmLauncher launcher)
throws java.lang.Exception
- Specified by:
doStop in class org.codehaus.cargo.container.spi.AbstractInstalledLocalContainer
- Throws:
java.lang.Exception
Copyright © 2011. All Rights Reserved.