org.mule.module.launcher
Interface DeploymentListener

All Known Implementing Classes:
AbstractDeploymentListener, CompositeDeploymentListener, DeploymentStatusTracker, NullDeploymentListener

public interface DeploymentListener

Defines a listener for deployment events.


Method Summary
 void onDeploymentFailure(String appName, Throwable cause)
          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.
 void onUndeploymentFailure(String appName, Throwable cause)
          Notifies that an un-deployment for a given application has finished with a failure.
 void onUndeploymentStart(String appName)
          Notifies that an un-deployment for a given application has started.
 void onUndeploymentSuccess(String appName)
          Notifies that an un-deployment for a given application has successfully finished.
 

Method Detail

onDeploymentStart

void onDeploymentStart(String appName)
Notifies that a deploy for a given application has started.

Parameters:
appName - the name of the application being deployed

onDeploymentSuccess

void onDeploymentSuccess(String appName)
Notifies that a deploy for a given application has successfully finished.

Parameters:
appName - the name of the application being deployed

onDeploymentFailure

void onDeploymentFailure(String appName,
                         Throwable cause)
Notifies that a deploy for a given application has finished with a failure.

Parameters:
appName - the name of the application being deployed
cause - the cause of the failure

onUndeploymentStart

void onUndeploymentStart(String appName)
Notifies that an un-deployment for a given application has started.

Parameters:
appName - the name of the application being un-deployed

onUndeploymentSuccess

void onUndeploymentSuccess(String appName)
Notifies that an un-deployment for a given application has successfully finished.

Parameters:
appName - the name of the application being un-deployed

onUndeploymentFailure

void onUndeploymentFailure(String appName,
                           Throwable cause)
Notifies that an un-deployment for a given application has finished with a failure.

Parameters:
appName - the name of the application being un-deployed
cause - the cause of the failure


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