org.mule.module.launcher.application
Class NullDeploymentListener

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

public class NullDeploymentListener
extends Object
implements DeploymentListener

Defines a DeploymentListener that does nothing


Constructor Summary
NullDeploymentListener()
           
 
Method Summary
 void onDeploymentFailure(String artifactName, Throwable cause)
          Notifies that a deploy for a given application has finished with a failure.
 void onDeploymentStart(String artifactName)
          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 artifactName, MuleContext context)
          Notifies the configuration of the MuleContext for a given app.
 void onMuleContextCreated(String artifactName, MuleContext context)
          Notifies the creation of the MuleContext for a given app.
 void onMuleContextInitialised(String artifactName, MuleContext context)
          Notifies the initialization of the MuleContext for a given app.
 void onUndeploymentFailure(String artifactName, Throwable cause)
          Notifies that an un-deployment for a given application has finished with a failure.
 void onUndeploymentStart(String artifactName)
          Notifies that an un-deployment for a given application has started.
 void onUndeploymentSuccess(String artifactName)
          Notifies that an un-deployment 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
 

Constructor Detail

NullDeploymentListener

public NullDeploymentListener()
Method Detail

onDeploymentStart

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

Specified by:
onDeploymentStart in interface DeploymentListener
Parameters:
artifactName - 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 artifactName,
                                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:
artifactName - the name of the application being deployed
cause - the cause of the failure

onUndeploymentStart

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

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

onUndeploymentSuccess

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

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

onUndeploymentFailure

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

onMuleContextCreated

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

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

onMuleContextInitialised

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

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

onMuleContextConfigured

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

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


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