org.mule.module.launcher
Class CompositeDeploymentListener

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

public class CompositeDeploymentListener
extends Object
implements DeploymentListener, DeploymentListenerManager


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 onMuleContextConfigured(String appName, MuleContext context)
          Notifies the configuration of the MuleContext for a given app.
 void onMuleContextCreated(String appName, MuleContext context)
          Notifies the creation of the MuleContext for a given app.
 void onMuleContextInitialised(String appName, MuleContext context)
          Notifies the initialization of the MuleContext for a given app.
 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)
Specified by:
addDeploymentListener in interface DeploymentListenerManager

removeDeploymentListener

public void removeDeploymentListener(DeploymentListener listener)
Specified by:
removeDeploymentListener in interface DeploymentListenerManager

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

onMuleContextCreated

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

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

onMuleContextInitialised

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

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

onMuleContextConfigured

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

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


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