|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
weblogic.application.ApplicationVersionLifecycleListener
public abstract class ApplicationVersionLifecycleListener
ApplicationVersionLifecycleListener provides application version lifecycle event notifications. Application developers who wish to listen to such notifications should extend the ApplicationVersionLifecycleListener abstract class and specify the lifecycle listener in weblogic-application.xml in the same manner as non-versioned application lifecycle listeners. Application version lifecycle events are fired for both static and dynamic deployments. The listeners are invoked with anonymous id in the order that the listeners are being specified for preDeploy and postDeploy, and in the reverse order for preUndeploy and postDelete. Note that application version lifecycle events will only be fired if the current application is versioned, else it will be ignored. Also, lifecycle events will be fired for all application versions, including the version that registers the listener. Listeners can determine whether the events are for its own version by using ApplicationVersionLifecycleEvent.isOwnVersion
method.
Method Summary | |
---|---|
void |
postDelete(ApplicationVersionLifecycleEvent evt) Invoked after an application version is deleted. |
void |
postDeploy(ApplicationVersionLifecycleEvent evt) Invoked after an application version is deployed successfully. |
void |
preDeploy(ApplicationVersionLifecycleEvent evt) Invoked when an application version deploy or redeploy operation is initiated. |
void |
preUndeploy(ApplicationVersionLifecycleEvent evt) Invoked when an application version undeploy operation is initiated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void preDeploy(ApplicationVersionLifecycleEvent evt) throws ApplicationException
evt
- The application version lifecycle eventApplicationException
- if the recipient wishes to veto the current deploy or redeploy operation.public void postDeploy(ApplicationVersionLifecycleEvent evt)
evt
- The application version lifecycle eventpublic void preUndeploy(ApplicationVersionLifecycleEvent evt) throws ApplicationException
evt
- The application version lifecycle eventApplicationException
- if the recipient wishes to veto the current undeploy operation.public void postDelete(ApplicationVersionLifecycleEvent evt)
evt
- The application version lifecycle event
|
Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |