|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.EventObject | +--javax.management.Notification | +--weblogic.management.DeploymentNotification
Defines a management notification of deployment events. Application deployment events are sent to associated ApplicationMBeans. The event types are as defined by the public fields. To receive deployment notifications, the client application must register a NotificationListener and optionally, NotificationFilter, with the ApplicationMBean that describes the application being deployed.
The notification message sent for application events are String objects of the form: phase.server.application. eg preparing.myserver.myapp. The notification message sent for module events are String objects of the form: server.app.module.transition.currstate.targetstate. eg servername.appname.modname.begin.unprepared.prepared
Field Summary | |
static java.lang.String |
ACTIVATED
The application successfully completed it activation phase. |
static java.lang.String |
ACTIVATING
The application is beginning its activation phase. |
static java.lang.String |
DEACTIVATED
The application successfully completed its deactivation phase. |
static java.lang.String |
DEACTIVATING
The application is beginning a deactivation phase. |
static java.lang.String |
DISTRIBUTED
Application files got copied to the target's staging area |
static java.lang.String |
DISTRIBUTING
Application files are being copied to the target's staging directory |
static java.lang.String |
FAILED
The last operation on the application failed and resulted in the application being placed in a failed state. |
static java.lang.String |
PREPARED
The application successfully completed its prepare phase. |
static java.lang.String |
PREPARING
The application is beginning a prepare phase. |
static java.lang.String |
STATE_ACTIVE
State indicating the application or module is active and running. |
static java.lang.String |
STATE_PREPARED
State indicating the application or module is ready for activation. |
static java.lang.String |
STATE_START
State indicating an application's files are not available on the target server. |
static java.lang.String |
STATE_UNPREPARED
State indicating the application or module is not ready for activation. |
static java.lang.String |
TRANSITION_BEGIN
Indicates a state transition is occurring for the current state to a target state. |
static java.lang.String |
TRANSITION_END
Indicates a state transition was successfully completed. |
static java.lang.String |
TRANSITION_FAILED
Indicates a state transition failed. |
static java.lang.String |
TYPE_APPLICATION
Notification type indicating this is an application level notification. |
static java.lang.String |
TYPE_MODULE
Notification type indicating this is a module level notification. |
static java.lang.String |
UNPREPARED
The application successfully completed its unprepare phase. |
static java.lang.String |
UNPREPARING
The application is beginning its unprepare phase. |
Fields inherited from class javax.management.Notification |
source |
Fields inherited from class java.util.EventObject |
source |
Method Summary | |
java.lang.String |
getAppName()
Idenitifies the application involved in the notification. |
static long |
getChangeNotificationCount()
|
java.lang.String |
getCurrentState()
Current state of module. |
java.lang.String |
getModuleName()
Module associated with a module based event (isModuleNotification() returns true). |
java.lang.String |
getPhase()
Identifies the phase on an application deployment task: DISTRIBUTING, DISTRIBUTED, PREPARING, PREPARED, ACTIVATING, ACTIVATED, UNPREPARING, or UNPREPARED. |
java.lang.String |
getServerName()
The server name where the deployment took place. |
java.lang.String |
getTargetState()
Target state of module or application. |
java.lang.String |
getTransition()
Transition associated with a deployment event. |
boolean |
isAppNotification()
indicates that this notification is an application level notification, one that reports changes based on the application deployment status. |
boolean |
isBeginTransition()
Inidicates whether this notification marks the beginning of a state transition |
boolean |
isEndTransition()
Inidicates whether this notification marks the end of a state transition |
boolean |
isFailedTransition()
Inidicates a failed transition |
boolean |
isModuleNotification()
indicates that this is a modules level notification, one that reports changes based on modules deployment status. |
Methods inherited from class javax.management.Notification |
getMessage,
getSequenceNumber,
getSource,
getTimeStamp,
getType,
getUserData,
setSequenceNumber,
setSource,
setTimeStamp,
setUserData |
Methods inherited from class java.util.EventObject |
toString |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
public static final java.lang.String PREPARING
public static final java.lang.String PREPARED
public static final java.lang.String ACTIVATING
public static final java.lang.String ACTIVATED
public static final java.lang.String DEACTIVATING
public static final java.lang.String DEACTIVATED
public static final java.lang.String UNPREPARING
public static final java.lang.String UNPREPARED
public static final java.lang.String FAILED
public static final java.lang.String DISTRIBUTING
public static final java.lang.String DISTRIBUTED
public static final java.lang.String TYPE_APPLICATION
public static final java.lang.String TYPE_MODULE
public static final java.lang.String TRANSITION_BEGIN
public static final java.lang.String TRANSITION_END
public static final java.lang.String TRANSITION_FAILED
public static final java.lang.String STATE_UNPREPARED
public static final java.lang.String STATE_PREPARED
public static final java.lang.String STATE_ACTIVE
public static final java.lang.String STATE_START
Method Detail |
public static long getChangeNotificationCount()
public java.lang.String getPhase()
public java.lang.String getAppName()
public java.lang.String getServerName()
public java.lang.String getModuleName()
public java.lang.String getTransition()
public boolean isEndTransition()
public boolean isBeginTransition()
public boolean isFailedTransition()
public java.lang.String getCurrentState()
public java.lang.String getTargetState()
public boolean isAppNotification()
public boolean isModuleNotification()
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs81 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |