com.ibm.websphere.management.application

Class AppNotification

  1. java.lang.Object
  2. extended bycom.ibm.websphere.management.application.AppNotification
All implemented interfaces:
java.io.Serializable

  1. public class AppNotification
  2. extends java.lang.Object
  3. 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

Nested Class Summary

Modifier and Type Class and Description
  1. static interface
AppNotification.Listener
An implementation of Listener interface is used by the clients that invoke install/uninstall functions of AppManagement in local mode.

Field Summary

Modifier and Type Field and Description
  1. static
  2. java.lang.String
APP_SYNC
  1. java.lang.Throwable
causeOfFailure
The java.lang.Throwable which was caught, resulting in the failure.
  1. static
  2. java.lang.String
DISTRIBUTION
  1. static
  2. java.lang.String
DISTRIBUTION_DONE
  1. static
  2. java.lang.String
DISTRIBUTION_NOT_DONE
  1. static
  2. java.lang.String
DISTRIBUTION_STATUS
  1. static
  2. java.lang.String
DISTRIBUTION_STATUS_COMPOSITE
  1. static
  2. java.lang.String
DISTRIBUTION_STATUS_NODE
  1. static
  2. java.lang.String
DISTRIBUTION_UNKNOWN
  1. static
  2. java.lang.String
EDIT
  1. static
  2. java.lang.String
EXPANSION_ERROR
  1. static
  2. java.lang.String
EXPANSION_INPROGRESS
  1. static
  2. java.lang.String
EXPANSION_NOT_PROCESSING
  1. static
  2. java.lang.String
EXPANSION_SKIPPED
  1. static
  2. java.lang.String
EXPANSION_STATUS
  1. static
  2. java.lang.String
EXPANSION_UNKNOWN
  1. static
  2. java.lang.String
INSTALL
  1. static
  2. java.lang.String
INSTALL_SYNC
  1. java.lang.String
message
Detailed message for the app task
  1. static
  2. java.lang.String
NODESYNC_COMPLETE
  1. static
  2. java.lang.String
NODESYNC_FAILED
  1. static
  2. java.lang.String
NODESYNC_INIT
  1. java.util.Properties
props
Properties of the app task
  1. static
  2. java.lang.String
RENAME_APP
  1. static
  2. java.lang.String
SERVER_START_FAILED
  1. static
  2. java.lang.String
SERVER_STARTED
  1. static
  2. java.lang.String
SERVER_STARTING
  1. static
  2. java.lang.String
SERVER_STOP_FAILED
  1. static
  2. java.lang.String
SERVER_STOPPED
  1. static
  2. java.lang.String
SERVER_STOPPING
  1. static
  2. java.lang.String
STATUS_COMPLETED
  1. static
  2. java.lang.String
STATUS_FAILED
  1. static
  2. java.lang.String
STATUS_INPROGRESS
  1. static
  2. java.lang.String
STATUS_WARNING
  1. java.lang.String
subtaskName
Name of the app subtask
  1. java.lang.String
subtaskStatus
Status of the app sub ask
  1. java.lang.String
taskName
Name of the app task
  1. java.lang.String
taskStatus
Status of the app task
  1. static
  2. java.lang.String
UNINSTALL
  1. static
  2. java.lang.String
UNINSTALL_SYNC
  1. static
  2. java.lang.String
UPDATE
  1. static
  2. java.lang.String
UPDATE_CLUSTER
  1. static
  2. java.lang.String
UPDATE_COMPLETED
  1. static
  2. java.lang.String
UPDATE_FAILED
  1. static
  2. java.lang.String
UPDATE_INITIATED
  1. static
  2. java.lang.String
UPDATE_SYNC

Constructor Summary

Constructor and Description
AppNotification(java.lang.String taskName,java.lang.String subtaskName,java.lang.String taskStatus,java.lang.String subtaskStatus,java.lang.String taskMessage)
AppNotification(java.lang.String taskName,java.lang.String subtaskName,java.lang.String taskStatus,java.lang.String subtaskStatus,java.lang.String taskMessage,java.util.Properties taskProperties)
Creates a new notifier instance.
AppNotification(java.lang.String taskName,java.lang.String subtaskName,java.lang.String taskStatus,java.lang.String subtaskStatus,java.lang.String taskMessage,java.util.Properties taskProperties,java.lang.Throwable causeOfFailure)
Creates a new notifier instance.

Method Summary

Modifier and Type Method and Description
  1. void
setProperties(java.util.Properties p)
  1. java.lang.String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Field Detail

INSTALL

  1. public static final java.lang.String INSTALL
See Also:

UNINSTALL

  1. public static final java.lang.String UNINSTALL
See Also:

UPDATE

  1. public static final java.lang.String UPDATE
See Also:

EDIT

  1. public static final java.lang.String EDIT
See Also:

UPDATE_CLUSTER

  1. public static final java.lang.String UPDATE_CLUSTER
See Also:

RENAME_APP

  1. public static final java.lang.String RENAME_APP
See Also:

STATUS_INPROGRESS

  1. public static final java.lang.String STATUS_INPROGRESS
See Also:

STATUS_COMPLETED

  1. public static final java.lang.String STATUS_COMPLETED
See Also:

STATUS_FAILED

  1. public static final java.lang.String STATUS_FAILED
See Also:

STATUS_WARNING

  1. public static final java.lang.String STATUS_WARNING
See Also:

UPDATE_SYNC

  1. public static final java.lang.String UPDATE_SYNC
See Also:

INSTALL_SYNC

  1. public static final java.lang.String INSTALL_SYNC
See Also:

UNINSTALL_SYNC

  1. public static final java.lang.String UNINSTALL_SYNC
See Also:

APP_SYNC

  1. public static final java.lang.String APP_SYNC
See Also:

UPDATE_INITIATED

  1. public static final java.lang.String UPDATE_INITIATED
See Also:

UPDATE_COMPLETED

  1. public static final java.lang.String UPDATE_COMPLETED
See Also:

UPDATE_FAILED

  1. public static final java.lang.String UPDATE_FAILED
See Also:

SERVER_STOPPING

  1. public static final java.lang.String SERVER_STOPPING
See Also:

SERVER_STOPPED

  1. public static final java.lang.String SERVER_STOPPED
See Also:

SERVER_STOP_FAILED

  1. public static final java.lang.String SERVER_STOP_FAILED
See Also:

NODESYNC_INIT

  1. public static final java.lang.String NODESYNC_INIT
See Also:

NODESYNC_COMPLETE

  1. public static final java.lang.String NODESYNC_COMPLETE
See Also:

NODESYNC_FAILED

  1. public static final java.lang.String NODESYNC_FAILED
See Also:

SERVER_STARTING

  1. public static final java.lang.String SERVER_STARTING
See Also:

SERVER_STARTED

  1. public static final java.lang.String SERVER_STARTED
See Also:

SERVER_START_FAILED

  1. public static final java.lang.String SERVER_START_FAILED
See Also:

DISTRIBUTION_STATUS_NODE

  1. public static final java.lang.String DISTRIBUTION_STATUS_NODE
See Also:

DISTRIBUTION_STATUS_COMPOSITE

  1. public static final java.lang.String DISTRIBUTION_STATUS_COMPOSITE
See Also:

DISTRIBUTION_DONE

  1. public static final java.lang.String DISTRIBUTION_DONE
See Also:

DISTRIBUTION_NOT_DONE

  1. public static final java.lang.String DISTRIBUTION_NOT_DONE
See Also:

DISTRIBUTION_UNKNOWN

  1. public static final java.lang.String DISTRIBUTION_UNKNOWN
See Also:

DISTRIBUTION

  1. public static final java.lang.String DISTRIBUTION
See Also:

DISTRIBUTION_STATUS

  1. public static final java.lang.String DISTRIBUTION_STATUS
See Also:

EXPANSION_STATUS

  1. public static final java.lang.String EXPANSION_STATUS
See Also:

EXPANSION_SKIPPED

  1. public static final java.lang.String EXPANSION_SKIPPED
See Also:

EXPANSION_UNKNOWN

  1. public static final java.lang.String EXPANSION_UNKNOWN
See Also:

EXPANSION_INPROGRESS

  1. public static final java.lang.String EXPANSION_INPROGRESS
See Also:

EXPANSION_ERROR

  1. public static final java.lang.String EXPANSION_ERROR
See Also:

EXPANSION_NOT_PROCESSING

  1. public static final java.lang.String EXPANSION_NOT_PROCESSING
See Also:

taskName

  1. public java.lang.String taskName
Name of the app task

subtaskName

  1. public java.lang.String subtaskName
Name of the app subtask

taskStatus

  1. public java.lang.String taskStatus
Status of the app task

subtaskStatus

  1. public java.lang.String subtaskStatus
Status of the app sub ask

message

  1. public java.lang.String message
Detailed message for the app task

props

  1. public java.util.Properties props
Properties of the app task

causeOfFailure

  1. public transient java.lang.Throwable causeOfFailure
The java.lang.Throwable which was caught, resulting in the failure. This value can be null, and can be non-null only for local clients.

Constructor Detail

AppNotification

  1. public AppNotification(java.lang.String taskName,
  2. java.lang.String subtaskName,
  3. java.lang.String taskStatus,
  4. java.lang.String subtaskStatus,
  5. java.lang.String taskMessage,
  6. java.util.Properties taskProperties,
  7. java.lang.Throwable causeOfFailure)
Creates a new notifier instance.
Parameters:
taskName - Name of the task
subtaskName - Name of the subtask
taskStatus - Task status
subtaskStatus - Subtask status
taskMessage - Detailed task message
taskProperties - Properties of task
causeOfFailure - Exception associated with failure of operation.

AppNotification

  1. public AppNotification(java.lang.String taskName,
  2. java.lang.String subtaskName,
  3. java.lang.String taskStatus,
  4. java.lang.String subtaskStatus,
  5. java.lang.String taskMessage,
  6. java.util.Properties taskProperties)
Creates a new notifier instance.
Parameters:
taskName - Name of the task
subtaskName - Name of the subtask
taskStatus - Task status
subtaskStatus - Subtask status
taskMessage - Detailed task message
taskProperties - Properties of task

AppNotification

  1. public AppNotification(java.lang.String taskName,
  2. java.lang.String subtaskName,
  3. java.lang.String taskStatus,
  4. java.lang.String subtaskStatus,
  5. java.lang.String taskMessage)

Method Detail

toString

  1. public java.lang.String toString( )
Overrides:
toString in class java.lang.Object

setProperties

  1. public void setProperties(java.util.Properties p)