public class CompositeDeploymentListener extends Object implements DeploymentListener, DeploymentListenerManager
| Constructor and Description |
|---|
CompositeDeploymentListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
addDeploymentListener(DeploymentListener listener) |
void |
onArtifactCreated(String artifactName,
org.mule.runtime.api.config.custom.CustomizationService customizationService)
Notifies the artifact creation for a given app.
|
void |
onArtifactInitialised(String artifactName,
org.mule.runtime.api.artifact.Registry registry)
Notifies the artifact initialisation for a given app.
|
void |
onArtifactStarted(String artifactName,
org.mule.runtime.api.artifact.Registry registry)
Notifies artifact start for a given app.
|
void |
onArtifactStopped(String artifactName,
org.mule.runtime.api.artifact.Registry registry)
Notifies artifact stop for a given app.
|
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 |
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 onArtifactCreated(String artifactName, org.mule.runtime.api.config.custom.CustomizationService customizationService)
DeploymentListeneronArtifactCreated in interface DeploymentListenerartifactName - name of the application that owns the mule contextcustomizationService - customization service for server pluginspublic void onArtifactInitialised(String artifactName, org.mule.runtime.api.artifact.Registry registry)
DeploymentListeneronArtifactInitialised in interface DeploymentListenerartifactName - name of the application that owns the mule contextregistry - mule registry for the application being deployedpublic void onArtifactStarted(String artifactName, org.mule.runtime.api.artifact.Registry registry)
DeploymentListeneronArtifactStarted in interface DeploymentListenerartifactName - name of the application that owns the mule contextregistry - mule registry for the application being deployedpublic void onArtifactStopped(String artifactName, org.mule.runtime.api.artifact.Registry registry)
DeploymentListeneronArtifactStopped in interface DeploymentListenerartifactName - name of the application that owns the mule contextregistry - mule registry for the application being deployedCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.