public class CompositeDeploymentListener extends Object implements DeploymentListener, DeploymentListenerManager
| Constructor and Description |
|---|
CompositeDeploymentListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
addDeploymentListener(DeploymentListener listener) |
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,
org.mule.runtime.api.config.custom.CustomizationService customizationService)
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.
|
void |
removeDeploymentListener(DeploymentListener listener) |
public void addDeploymentListener(DeploymentListener listener)
addDeploymentListener in interface DeploymentListenerManagerpublic void removeDeploymentListener(DeploymentListener listener)
removeDeploymentListener in interface DeploymentListenerManagerpublic void onDeploymentStart(String artifactName)
DeploymentListeneronDeploymentStart in interface DeploymentListenerartifactName - the name of the application being deployedpublic void onDeploymentSuccess(String appName)
DeploymentListeneronDeploymentSuccess in interface DeploymentListenerappName - the name of the application being deployedpublic void onDeploymentFailure(String artifactName, Throwable cause)
DeploymentListeneronDeploymentFailure in interface DeploymentListenerartifactName - the name of the application being deployedcause - the cause of the failurepublic void onUndeploymentStart(String artifactName)
DeploymentListeneronUndeploymentStart in interface DeploymentListenerartifactName - the name of the application being un-deployedpublic void onUndeploymentSuccess(String artifactName)
DeploymentListeneronUndeploymentSuccess in interface DeploymentListenerartifactName - the name of the application being un-deployedpublic void onUndeploymentFailure(String artifactName, Throwable cause)
DeploymentListeneronUndeploymentFailure in interface DeploymentListenerartifactName - the name of the application being un-deployedcause - the cause of the failurepublic void onMuleContextCreated(String artifactName, MuleContext context, org.mule.runtime.api.config.custom.CustomizationService customizationService)
DeploymentListenerMuleContext for a given app.onMuleContextCreated in interface DeploymentListenerartifactName - name of the application that owns the mule contextcontext - mule context for the application being deployedpublic void onMuleContextInitialised(String artifactName, MuleContext context)
DeploymentListenerMuleContext for a given app.onMuleContextInitialised in interface DeploymentListenerartifactName - name of the application that owns the mule contextcontext - mule context for the application being deployedpublic void onMuleContextConfigured(String artifactName, MuleContext context)
DeploymentListenerMuleContext for a given app.onMuleContextConfigured in interface DeploymentListenerartifactName - name of the application that owns the mule contextcontext - mule context for the application being deployedCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.