org.jboss.varia.scheduler
Class Scheduler.BaseListener

java.lang.Object
  extended by org.jboss.varia.scheduler.Scheduler.BaseListener
All Implemented Interfaces:
EventListener, NotificationListener
Direct Known Subclasses:
Scheduler.MBeanListener, Scheduler.PojoScheduler
Enclosing class:
Scheduler

public abstract class Scheduler.BaseListener
extends Object
implements NotificationListener

Base class for listeners.


Constructor Summary
Scheduler.BaseListener()
           
 
Method Summary
 void handleNotification(Notification notification, Object handback)
           
protected abstract  void invoke(Notification notification)
          Invokes the scheduler method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Scheduler.BaseListener

public Scheduler.BaseListener()
Method Detail

handleNotification

public void handleNotification(Notification notification,
                               Object handback)
Specified by:
handleNotification in interface NotificationListener

invoke

protected abstract void invoke(Notification notification)
Invokes the scheduler method.



Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.