org.jboss.varia.scheduler
Class ScheduleManager.MBeanListener

java.lang.Object
  extended byorg.jboss.varia.scheduler.ScheduleManager.MBeanListener
All Implemented Interfaces:
java.util.EventListener, NotificationListener (src)
Enclosing class:
ScheduleManager (src)

public class ScheduleManager.MBeanListener
extends java.lang.Object
implements NotificationListener (src)

This listener is waiting for its Timer Notification and call the appropriate method on the given Target (MBean) and count down the number of remaining repetitions.


Constructor Summary
ScheduleManager.MBeanListener(org.jboss.varia.scheduler.ScheduleManager.ScheduleInstance pSchedule)
           
 
Method Summary
 void handleNotification(Notification (src)  pNotification, java.lang.Object pHandback)
          Callback method from the broadcaster MBean this listener implementation is registered to.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScheduleManager.MBeanListener

public ScheduleManager.MBeanListener(org.jboss.varia.scheduler.ScheduleManager.ScheduleInstance pSchedule)
Method Detail

handleNotification

public void handleNotification(Notification (src)  pNotification,
                               java.lang.Object pHandback)
Description copied from interface: NotificationListener (src)
Callback method from the broadcaster MBean this listener implementation is registered to.

Specified by:
handleNotification in interface NotificationListener (src)
Parameters:
pNotification - the notification object
pHandback - the handback object given to the broadcaster upon listener registration