org.mule.module.launcher
Class DeploymentStatusTracker

java.lang.Object
  extended by org.mule.module.launcher.DeploymentStatusTracker
All Implemented Interfaces:
DeploymentListener

public class DeploymentStatusTracker
extends Object
implements DeploymentListener

Keeps track of the deployment status of all applications in the Mule instance.


Nested Class Summary
static class DeploymentStatusTracker.DeploymentState
           
 
Field Summary
protected  Map<String,DeploymentStatusTracker.DeploymentState> deploymentStates
           
 
Constructor Summary
DeploymentStatusTracker()
           
 
Method Summary
 Map<String,DeploymentStatusTracker.DeploymentState> getDeploymentStates()
           
 void onDeploymentFailure(String appName, Throwable failureCause)
          Notifies that a deploy for a given application has finished with a failure.
 void onDeploymentStart(String appName)
          Notifies that a deploy for a given application has started.
 void onDeploymentSuccess(String appName)
          Notifies that a deploy for a given application has successfully finished.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

deploymentStates

protected Map<String,DeploymentStatusTracker.DeploymentState> deploymentStates
Constructor Detail

DeploymentStatusTracker

public DeploymentStatusTracker()
Method Detail

getDeploymentStates

public Map<String,DeploymentStatusTracker.DeploymentState> getDeploymentStates()

onDeploymentStart

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

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

onDeploymentSuccess

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

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

onDeploymentFailure

public void onDeploymentFailure(String appName,
                                Throwable failureCause)
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:
appName - the name of the application being deployed
failureCause - the cause of the failure


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