IBM WebSphere Application ServerTM
Release 8

com.ibm.events.notification
Interface EventNotification


public interface EventNotification

Repesents an event notification that is recieved through JMS.

Since:
6.0.0
Version:
1.2 11/10/05

Method Summary
 org.eclipse.hyades.logging.events.cbe.CommonBaseEvent getEvent()
          Get the event that the notification represents.
 java.lang.String getGlobalInstanceId()
          Get the global instance ID of the event that the notification represents.
 int getNotificationType()
          Get the numeric notification type.
 

Method Detail

getEvent

org.eclipse.hyades.logging.events.cbe.CommonBaseEvent getEvent()
Get the event that the notification represents. This call is only valid if this is an update or create notification.

Returns:
The event that the notification represents.

getGlobalInstanceId

java.lang.String getGlobalInstanceId()
Get the global instance ID of the event that the notification represents. This call is only valid if this is a remove notification.

Returns:
The global instance ID of event that the notification represents.

getNotificationType

int getNotificationType()
Get the numeric notification type. Constants for these types are defined in NotificationHelper. The type of notification determines what data is available from the event notification object.

Returns:
An int that represents the type of notification.

IBM WebSphere Application ServerTM
Release 8