org.mule.test.infrastructure.process
Class ApplicationStartedDeploymentListener

java.lang.Object
  extended by org.mule.test.infrastructure.process.ApplicationStartedDeploymentListener
All Implemented Interfaces:
DeploymentListener

public class ApplicationStartedDeploymentListener
extends Object
implements DeploymentListener


Field Summary
static int APPLICATION_STARTED_TIMEOUT_IN_SECONDS
           
 
Constructor Summary
ApplicationStartedDeploymentListener()
           
 
Method Summary
 void onDeploymentFailure(String artifactName, Throwable cause)
          Notifies that a deploy for a given application has finished with a failure.
 void onDeploymentStart(String artifactName)
          Notifies that a deploy for a given application has started.
 void onDeploymentSuccess(String artifactName)
          Notifies that a deploy for a given application has successfully finished.
 void onMuleContextConfigured(String artifactName, MuleContext context)
          Notifies the configuration of the MuleContext for a given app.
 void onMuleContextCreated(String artifactName, MuleContext context)
          Notifies the creation of the MuleContext for a given app.
 void onMuleContextInitialised(String artifactName, MuleContext context)
          Notifies the initialization of the MuleContext for a given app.
 void onUndeploymentFailure(String artifactName, Throwable cause)
          Notifies that an un-deployment for a given application has finished with a failure.
 void onUndeploymentStart(String artifactName)
          Notifies that an un-deployment for a given application has started.
 void onUndeploymentSuccess(String artifactName)
          Notifies that an un-deployment for a given application has successfully finished.
 void waitUntilApplicationDeployed()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

APPLICATION_STARTED_TIMEOUT_IN_SECONDS

public static final int APPLICATION_STARTED_TIMEOUT_IN_SECONDS
See Also:
Constant Field Values
Constructor Detail

ApplicationStartedDeploymentListener

public ApplicationStartedDeploymentListener()
Method Detail

waitUntilApplicationDeployed

public void waitUntilApplicationDeployed()

onDeploymentStart

public void onDeploymentStart(String artifactName)
Description copied from interface: DeploymentListener
Notifies that a deploy for a given application has started.

Specified by:
onDeploymentStart in interface DeploymentListener
Parameters:
artifactName - the name of the application being deployed

onDeploymentSuccess

public void onDeploymentSuccess(String artifactName)
Description copied from interface: DeploymentListener
Notifies that a deploy for a given application has successfully finished.

Specified by:
onDeploymentSuccess in interface DeploymentListener
Parameters:
artifactName - the name of the application being deployed

onDeploymentFailure

public void onDeploymentFailure(String artifactName,
                                Throwable cause)
Description copied from interface: DeploymentListener
Notifies that a deploy for a given application has finished with a failure.

Specified by:
onDeploymentFailure in interface DeploymentListener
Parameters:
artifactName - the name of the application being deployed
cause - the cause of the failure

onUndeploymentStart

public void onUndeploymentStart(String artifactName)
Description copied from interface: DeploymentListener
Notifies that an un-deployment for a given application has started.

Specified by:
onUndeploymentStart in interface DeploymentListener
Parameters:
artifactName - the name of the application being un-deployed

onUndeploymentSuccess

public void onUndeploymentSuccess(String artifactName)
Description copied from interface: DeploymentListener
Notifies that an un-deployment for a given application has successfully finished.

Specified by:
onUndeploymentSuccess in interface DeploymentListener
Parameters:
artifactName - the name of the application being un-deployed

onUndeploymentFailure

public void onUndeploymentFailure(String artifactName,
                                  Throwable cause)
Description copied from interface: DeploymentListener
Notifies that an un-deployment for a given application has finished with a failure.

Specified by:
onUndeploymentFailure in interface DeploymentListener
Parameters:
artifactName - the name of the application being un-deployed
cause - the cause of the failure

onMuleContextCreated

public void onMuleContextCreated(String artifactName,
                                 MuleContext context)
Description copied from interface: DeploymentListener
Notifies the creation of the MuleContext for a given app.

Specified by:
onMuleContextCreated in interface DeploymentListener
Parameters:
artifactName - name of the application that owns the mule context
context - mule context for the application being deployed

onMuleContextInitialised

public void onMuleContextInitialised(String artifactName,
                                     MuleContext context)
Description copied from interface: DeploymentListener
Notifies the initialization of the MuleContext for a given app.

Specified by:
onMuleContextInitialised in interface DeploymentListener
Parameters:
artifactName - name of the application that owns the mule context
context - mule context for the application being deployed

onMuleContextConfigured

public void onMuleContextConfigured(String artifactName,
                                    MuleContext context)
Description copied from interface: DeploymentListener
Notifies the configuration of the MuleContext for a given app.

Specified by:
onMuleContextConfigured in interface DeploymentListener
Parameters:
artifactName - name of the application that owns the mule context
context - mule context for the application being deployed


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