org.mule.tools.cargo.container
Class Mule3xEmbeddedLocalContainer

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.AbstractEmbeddedLocalContainer
                  extended by 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.


Field Summary
static java.lang.String ID
           
static java.lang.String NAME
           
 
Constructor Summary
Mule3xEmbeddedLocalContainer(org.codehaus.cargo.container.configuration.LocalConfiguration configuration)
           
 
Method Summary
protected  void configureLog4j()
           
protected  void doStart()
           
protected  void doStop()
           
 org.codehaus.cargo.container.ContainerCapability getCapability()
           
protected  org.codehaus.cargo.container.deployable.Deployable getDeployable()
           
 java.lang.String getId()
           
 java.lang.String getName()
           
protected  org.mule.MuleServer getServer()
           
protected  void startServer()
           
protected  void waitForCompletion(boolean waitForStarting)
           
 
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
 

Field Detail

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
Constructor Detail

Mule3xEmbeddedLocalContainer

public Mule3xEmbeddedLocalContainer(org.codehaus.cargo.container.configuration.LocalConfiguration configuration)
Method Detail

getId

public final java.lang.String getId()

getName

public final java.lang.String getName()

getCapability

public final org.codehaus.cargo.container.ContainerCapability getCapability()

getServer

protected final org.mule.MuleServer getServer()

startServer

protected final void startServer()

getDeployable

protected final org.codehaus.cargo.container.deployable.Deployable getDeployable()
Returns:
defined Deployable

configureLog4j

protected final void configureLog4j()

doStart

protected void doStart()
                throws java.lang.Exception
Specified by:
doStart in class org.codehaus.cargo.container.spi.AbstractEmbeddedLocalContainer
Throws:
java.lang.Exception

waitForCompletion

protected final void waitForCompletion(boolean waitForStarting)
                                throws java.lang.InterruptedException
Overrides:
waitForCompletion in class org.codehaus.cargo.container.spi.AbstractEmbeddedLocalContainer
Throws:
java.lang.InterruptedException

doStop

protected void doStop()
               throws java.lang.Exception
Specified by:
doStop in class org.codehaus.cargo.container.spi.AbstractEmbeddedLocalContainer
Throws:
java.lang.Exception


Copyright © 2011. All Rights Reserved.