|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mule.module.launcher.AbstractDeploymentListener
public class AbstractDeploymentListener
Convenience implementation of DeploymentListener. Default method implementations are no-ops. Sub-classes can implement the DeploymentListener interface without having to override all methods. This was implemented so that DeploymentStatusTracker would not need to provide default implementations of undeployment events.
| Constructor Summary | |
|---|---|
AbstractDeploymentListener()
|
|
| Method Summary | |
|---|---|
void |
onDeploymentFailure(String appName,
Throwable cause)
Notifies that a deploy for a given application has finished with a failure. |
void |
onDeploymentStart(String appName)
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 appName,
Throwable cause)
Notifies that an un-deployment for a given application has finished with a failure. |
void |
onUndeploymentStart(String appName)
Notifies that an un-deployment for a given application has started. |
void |
onUndeploymentSuccess(String appName)
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 |
|---|
public AbstractDeploymentListener()
| Method Detail |
|---|
public void onDeploymentStart(String appName)
DeploymentListener
onDeploymentStart in interface DeploymentListenerappName - the name of the application being deployedpublic void onDeploymentSuccess(String appName)
DeploymentListener
onDeploymentSuccess in interface DeploymentListenerappName - the name of the application being deployed
public void onDeploymentFailure(String appName,
Throwable cause)
DeploymentListener
onDeploymentFailure in interface DeploymentListenerappName - the name of the application being deployedcause - the cause of the failurepublic void onUndeploymentStart(String appName)
DeploymentListener
onUndeploymentStart in interface DeploymentListenerappName - the name of the application being un-deployedpublic void onUndeploymentSuccess(String appName)
DeploymentListener
onUndeploymentSuccess in interface DeploymentListenerappName - the name of the application being un-deployed
public void onUndeploymentFailure(String appName,
Throwable cause)
DeploymentListener
onUndeploymentFailure in interface DeploymentListenerappName - the name of the application being un-deployedcause - the cause of the failure
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||