org.mule.module.launcher
Class DeploymentStatusTracker
java.lang.Object
org.mule.module.launcher.AbstractDeploymentListener
org.mule.module.launcher.DeploymentStatusTracker
- All Implemented Interfaces:
- DeploymentListener
public class DeploymentStatusTracker
- extends AbstractDeploymentListener
Keeps track of the deployment status of all applications in the Mule instance.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
deploymentStates
protected Map<String,DeploymentStatusTracker.DeploymentState> deploymentStates
DeploymentStatusTracker
public DeploymentStatusTracker()
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
- Overrides:
onDeploymentStart
in class AbstractDeploymentListener
- 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
- Overrides:
onDeploymentSuccess
in class AbstractDeploymentListener
- 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
- Overrides:
onDeploymentFailure
in class AbstractDeploymentListener
- Parameters:
appName
- the name of the application being deployedfailureCause
- the cause of the failure
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.