com.ibm.websphere.management.application
Class AppNotification
java.lang.Object
|
+--com.ibm.websphere.management.application.AppNotification
- All Implemented Interfaces:
- java.io.Serializable
- public class AppNotification
- extends java.lang.Object
- implements java.io.Serializable
AppNotification class defines the event data passed back by AppManagement
implementation during asynchronous operations such installation or uninstallation.
When AppManagement implementation runs in local mode an AppNotification instance
is passed to the caller via appEventReceived callback of the Listener interface.
In JMX mode the AppManagement implementation passes AppNotification instance
as user data for JMX event.
- See Also:
- Serialized Form
Inner Class Summary |
static interface |
AppNotification.Listener
An implementation of Listener interface is used by the clients that invoke
install/uninstall functions of AppManagement in local mode. |
Constructor Summary |
AppNotification(java.lang.String tName,
java.lang.String sName,
java.lang.String st,
java.lang.String sst,
java.lang.String msg)
|
AppNotification(java.lang.String tName,
java.lang.String sName,
java.lang.String st,
java.lang.String sst,
java.lang.String msg,
java.util.Properties p)
Creates a new notifier instance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
INSTALL
public static final java.lang.String INSTALL
UNINSTALL
public static final java.lang.String UNINSTALL
EDIT
public static final java.lang.String EDIT
STATUS_INPROGRESS
public static final java.lang.String STATUS_INPROGRESS
STATUS_COMPLETED
public static final java.lang.String STATUS_COMPLETED
STATUS_FAILED
public static final java.lang.String STATUS_FAILED
taskName
public java.lang.String taskName
- Name of the app task
subtaskName
public java.lang.String subtaskName
- Name of the app subtask
taskStatus
public java.lang.String taskStatus
- Status of the app task
subtaskStatus
public java.lang.String subtaskStatus
- Status of the app sub ask
message
public java.lang.String message
- Detailed message for the app task
props
public java.util.Properties props
- Properties of the app task
AppNotification
public AppNotification(java.lang.String tName,
java.lang.String sName,
java.lang.String st,
java.lang.String sst,
java.lang.String msg,
java.util.Properties p)
- Creates a new notifier instance.
- Parameters:
tName
- Name of the tasksName
- Name of the subtaskst
- Task statussst
- subtask statusmsg
- Detailed task messagep
- properties of task
AppNotification
public AppNotification(java.lang.String tName,
java.lang.String sName,
java.lang.String st,
java.lang.String sst,
java.lang.String msg)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
setProperties
public void setProperties(java.util.Properties p)