org.mule.module.launcher
Class CompositeDeploymentListener

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

public class CompositeDeploymentListener
extends Object
implements DeploymentListener


Constructor Summary
CompositeDeploymentListener()
           
 
Method Summary
 void addDeploymentListener(DeploymentListener listener)
           
 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.
 void removeDeploymentListener(DeploymentListener listener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositeDeploymentListener

public CompositeDeploymentListener()
Method Detail

addDeploymentListener

public void addDeploymentListener(DeploymentListener listener)

removeDeploymentListener

public void removeDeploymentListener(DeploymentListener listener)

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 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:
appName - the name of the application being deployed
cause - the cause of the failure

onUndeploymentStart

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

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

onUndeploymentSuccess

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

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

onUndeploymentFailure

public void onUndeploymentFailure(String appName,
                                  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:
appName - the name of the application being un-deployed
cause - the cause of the failure


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