org.jppf.ui.monitoring.job
Class JobNotificationListener
java.lang.Object
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
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.