unm.maui.sched
Class ReservationsMod

java.lang.Object
  extended byunm.maui.sched.ReservationsMod
All Implemented Interfaces:
java.util.EventListener, MauiListener, SchedListener, java.io.Serializable

public class ReservationsMod
extends java.lang.Object
implements SchedListener, java.io.Serializable

ReservationsMod.

See Also:
Serialized Form

Field Summary
protected  Scheduler scheduler
          The scheduler.
 
Constructor Summary
ReservationsMod()
          Construct
 
Method Summary
 void assignProperties(java.lang.String prefix, java.util.Properties props)
          Set properties.
 void event(SchedEvent evt)
          Handle reservations starting and finishing.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

scheduler

protected Scheduler scheduler
The scheduler.

Constructor Detail

ReservationsMod

public ReservationsMod()
Construct

Method Detail

assignProperties

public void assignProperties(java.lang.String prefix,
                             java.util.Properties props)
Set properties.

Specified by:
assignProperties in interface MauiListener
Parameters:
prefix - String properties prefix
props - Properties

event

public void event(SchedEvent evt)
Handle reservations starting and finishing.

We check the current status of each reservation to see if it should be activated or deactivated.

Specified by:
event in interface SchedListener
Parameters:
evt - SchedEvent
See Also:
SchedListener.event(unm.maui.sched.SchedEvent)