NotificationSink interface

A notification sink is a user-defined stateless session bean that is called by tasks when their state changes throughout the bean's lifecycle. A notification sink bean uses the following home and remote interfaces, which are defined in the deployment descriptor using the or WebSphere Studio Application Developer::

com.ibm.websphere.scheduler.NotificationSinkHome
com.ibm.websphere.scheduler.NotificationSink

The bean itself needs to implement the handleEvent() method defined in the remote interface. For details, see the Interface NotificationSink in the Javadoc.

A NotificationSink provides an event notification callback on a task-by-task basis. A notification sink is set on the TaskInfo interface, using the setNotificationSink() method. If a notification sink is not specified on a task, all notifications are lost; however, the status of a task can be determined by calling the getStatus() method from the Scheduler interface. A notification callback is made for each of the following events:


Related tasks
Receiving scheduler notifications



Searchable topic ID:   rsch_notificationsink
Last updated: Jun 21, 2007 8:07:48 PM CDT    WebSphere Business Integration Server Foundation, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.wasee.doc/info/ee/scheduler/ref/rsch_notificationsink.html

Library | Support | Terms of Use | Feedback