|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.mule.test.infrastructure.process.ApplicationStartedDeploymentListener
public class ApplicationStartedDeploymentListener
Field Summary | |
---|---|
static int |
APPLICATION_STARTED_TIMEOUT_IN_SECONDS
|
Constructor Summary | |
---|---|
ApplicationStartedDeploymentListener()
|
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 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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int APPLICATION_STARTED_TIMEOUT_IN_SECONDS
Constructor Detail |
---|
public ApplicationStartedDeploymentListener()
Method Detail |
---|
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 deployed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |