org.jppf.ui.monitoring.job
Class JobNotificationListener

java.lang.Object
  extended by org.jppf.ui.monitoring.job.JobNotificationListener
All Implemented Interfaces:
EventListener, NotificationListener

public class JobNotificationListener
extends Object
implements NotificationListener

Implementation of a notification listener for processing of job events.


Constructor Summary
JobNotificationListener(JobDataPanel jobDataPanel, String driverName)
          Initialize this listener with the specified driver name.
 
Method Summary
 void handleNotification(Notification notification, Object handback)
          Handle notifications of job events.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JobNotificationListener

public JobNotificationListener(JobDataPanel jobDataPanel,
                               String driverName)
Initialize this listener with the specified driver name.

Parameters:
driverName - - a string identifying the driver that sends the notifications.
jobDataPanel - - the panel to which the notifications are delegated.
Method Detail

handleNotification

public void handleNotification(Notification notification,
                               Object handback)
Handle notifications of job events.

Specified by:
handleNotification in interface NotificationListener
Parameters:
notification - - encapsulates the job event ot handle.
handback - - not used.
See Also:
NotificationListener.handleNotification(javax.management.Notification, java.lang.Object)


Copyright © 2005-2010 JPPF Team.