org.mule.module.launcher.application
Class TestApplicationWrapper

java.lang.Object
  extended by org.mule.module.launcher.application.ApplicationWrapper
      extended by org.mule.module.launcher.application.TestApplicationWrapper
All Implemented Interfaces:
Application

public class TestApplicationWrapper
extends ApplicationWrapper

Adds a way to simulate errors on application deployment phases


Constructor Summary
protected TestApplicationWrapper(Application delegate)
           
 
Method Summary
 void dispose()
           
 void setFailOnDisposeApplication(boolean failOnDisposeApplication)
           
 void setFailOnStopApplication(boolean failOnStopApplication)
           
 void stop()
           
 
Methods inherited from class org.mule.module.launcher.application.ApplicationWrapper
getAppName, getDelegate, getDeploymentClassLoader, getDescriptor, getMuleContext, init, install, redeploy, start, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestApplicationWrapper

protected TestApplicationWrapper(Application delegate)
                          throws IOException
Throws:
IOException
Method Detail

dispose

public void dispose()
Specified by:
dispose in interface Application
Overrides:
dispose in class ApplicationWrapper

stop

public void stop()
Specified by:
stop in interface Application
Overrides:
stop in class ApplicationWrapper

setFailOnStopApplication

public void setFailOnStopApplication(boolean failOnStopApplication)

setFailOnDisposeApplication

public void setFailOnDisposeApplication(boolean failOnDisposeApplication)


Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.