nz.ac.waikato.mcennis.rat.scheduler
Class SchedulerFactory

java.lang.Object
  extended by nz.ac.waikato.mcennis.rat.scheduler.SchedulerFactory

public class SchedulerFactory
extends java.lang.Object

Class for creating a scheduler.


Method Summary
 Scheduler create(java.util.Properties props)
          Create a new Scheduler The class is created using the 'scheduler' key.
 java.lang.String[] getKnownSchedulers()
           
static SchedulerFactory newInstance()
          return a reference to a singleton SchedulerFactory object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newInstance

public static SchedulerFactory newInstance()
return a reference to a singleton SchedulerFactory object.

Returns:
new reference to a singleton SchedulerFactory.

create

public Scheduler create(java.util.Properties props)
Create a new Scheduler The class is created using the 'scheduler' key. Currently, only the basic scheduler is implemented and is returned regardless of the value.

Parameters:
props - parameters for constructing a scheduler
Returns:
newly constructed Scheduler

getKnownSchedulers

public java.lang.String[] getKnownSchedulers()