public class ApplicationStartedDeploymentListener extends Object implements DeploymentListener
Modifier and Type | Field and Description |
---|---|
static int |
APPLICATION_STARTED_TIMEOUT_IN_SECONDS |
Constructor and Description |
---|
ApplicationStartedDeploymentListener() |
Modifier and Type | Method and Description |
---|---|
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 artifactName)
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.
|
void |
waitUntilApplicationDeployed() |
public static final int APPLICATION_STARTED_TIMEOUT_IN_SECONDS
public ApplicationStartedDeploymentListener()
public void waitUntilApplicationDeployed()
public void onDeploymentStart(String artifactName)
DeploymentListener
onDeploymentStart
in interface DeploymentListener
artifactName
- the name of the application being deployedpublic void onDeploymentSuccess(String artifactName)
DeploymentListener
onDeploymentSuccess
in interface DeploymentListener
artifactName
- the name of the application being deployedpublic void onDeploymentFailure(String artifactName, Throwable cause)
DeploymentListener
onDeploymentFailure
in interface DeploymentListener
artifactName
- the name of the application being deployedcause
- the cause of the failurepublic void onUndeploymentStart(String artifactName)
DeploymentListener
onUndeploymentStart
in interface DeploymentListener
artifactName
- the name of the application being un-deployedpublic void onUndeploymentSuccess(String artifactName)
DeploymentListener
onUndeploymentSuccess
in interface DeploymentListener
artifactName
- the name of the application being un-deployedpublic void onUndeploymentFailure(String artifactName, Throwable cause)
DeploymentListener
onUndeploymentFailure
in interface DeploymentListener
artifactName
- the name of the application being un-deployedcause
- the cause of the failurepublic void onMuleContextCreated(String artifactName, MuleContext context)
DeploymentListener
MuleContext
for a given app.onMuleContextCreated
in interface DeploymentListener
artifactName
- name of the application that owns the mule contextcontext
- mule context for the application being deployedpublic void onMuleContextInitialised(String artifactName, MuleContext context)
DeploymentListener
MuleContext
for a given app.onMuleContextInitialised
in interface DeploymentListener
artifactName
- name of the application that owns the mule contextcontext
- mule context for the application being deployedpublic void onMuleContextConfigured(String artifactName, MuleContext context)
DeploymentListener
MuleContext
for a given app.onMuleContextConfigured
in interface DeploymentListener
artifactName
- name of the application that owns the mule contextcontext
- mule context for the application being deployedCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.