|
Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.5) Part Number E13941-05 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweblogic.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.
Constructor Summary | |
---|---|
ApplicationVersionLifecycleListener()
|
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 |
Constructor Detail |
---|
public ApplicationVersionLifecycleListener()
Method Detail |
---|
public void preDeploy(ApplicationVersionLifecycleEvent evt)
evt
- The application version lifecycle event
ApplicationException
- 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)
evt
- The application version lifecycle event
ApplicationException
- if the recipient wishes to
veto the current undeploy operation.public void postDelete(ApplicationVersionLifecycleEvent evt)
evt
- The application version lifecycle event
|
Copyright 1996, 2011, 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 Oracle WebLogic Server API Reference 11g Release 1 (10.3.5) Part Number E13941-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |