org.mule.tools.cargo.container
Class Mule3xEmbeddedLocalContainer
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.AbstractEmbeddedLocalContainer
org.mule.tools.cargo.container.Mule3xEmbeddedLocalContainer
- All Implemented Interfaces:
- org.codehaus.cargo.container.Container, org.codehaus.cargo.container.EmbeddedLocalContainer, org.codehaus.cargo.container.internal.RunnableContainer, org.codehaus.cargo.container.LocalContainer, org.codehaus.cargo.util.log.Loggable
public class Mule3xEmbeddedLocalContainer
- extends org.codehaus.cargo.container.spi.AbstractEmbeddedLocalContainer
Start an embedded MuleServer using maven dependencies.
Configured MuleApplicationDeployable is deployed on startup.
| Methods inherited from class org.codehaus.cargo.container.spi.AbstractEmbeddedLocalContainer |
getClassLoader, getType, setClassLoader, 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, verify, waitForPortShutdown |
| Methods inherited from class org.codehaus.cargo.util.log.LoggedObject |
getLogger, setLogger |
| 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, setLogger |
| Methods inherited from interface org.codehaus.cargo.container.internal.RunnableContainer |
getOutput, getTimeout, isAppend, setAppend, setOutput, setTimeout, start, stop |
ID
public static final String ID
- See Also:
- Constant Field Values
NAME
public static final String NAME
- See Also:
- Constant Field Values
Mule3xEmbeddedLocalContainer
public Mule3xEmbeddedLocalContainer(org.codehaus.cargo.container.configuration.LocalConfiguration configuration)
getId
public final String getId()
getName
public final String getName()
getCapability
public final org.codehaus.cargo.container.ContainerCapability getCapability()
getServer
public final Object getServer()
throws Exception
- Throws:
Exception
getDeployable
protected final org.codehaus.cargo.container.deployable.Deployable getDeployable()
- Returns:
- defined
Deployable
configureLog4j
protected final void configureLog4j()
doStart
protected void doStart()
throws Exception
- Specified by:
doStart in class org.codehaus.cargo.container.spi.AbstractEmbeddedLocalContainer
- Throws:
Exception
getMuleHome
public String getMuleHome()
hasBeenStarted
public boolean hasBeenStarted()
waitForCompletion
protected final void waitForCompletion(boolean waitForStarting)
throws InterruptedException
- Overrides:
waitForCompletion in class org.codehaus.cargo.container.spi.AbstractEmbeddedLocalContainer
- Throws:
InterruptedException
doStop
protected void doStop()
throws Exception
- Specified by:
doStop in class org.codehaus.cargo.container.spi.AbstractEmbeddedLocalContainer
- Throws:
Exception
createServerObject
protected void createServerObject()
throws Exception
- Create a Mule Server Object.
- Throws:
Exception - in case of error
createFakeMuleHomeDirectory
public File createFakeMuleHomeDirectory()
throws IOException
- Throws:
IOException
Copyright © 2010-2013 MuleSoft, Inc.. All Rights Reserved.