com.silverpeas.scheduler
Class SchedulerFactory

java.lang.Object
  extended by com.silverpeas.scheduler.SchedulerFactory

public class SchedulerFactory
extends Object

The factory of Scheduler objects. The SchedulerFactory class wraps the actual scheduling backend. It delivers SchedulerFactory instances that are built upon this backend, so that they have the capability to provide instances of the actual scheduler implementation. It is the single entry point to the actual scheduling system for Silverpeas components.


Field Summary
static String MODULE_NAME
          The name of the scheduling system in Silverpeas.
 
Method Summary
static SchedulerFactory getFactory()
          Gets a SchedulerFactory instance.
 Scheduler getScheduler()
          Gets a scheduler from the underlying scheduling backend.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MODULE_NAME

public static final String MODULE_NAME
The name of the scheduling system in Silverpeas.

See Also:
Constant Field Values
Method Detail

getFactory

public static SchedulerFactory getFactory()
Gets a SchedulerFactory instance.

Returns:
a SchedulerFactory instance.

getScheduler

public Scheduler getScheduler()
Gets a scheduler from the underlying scheduling backend.

Returns:
an instance of the actual scheduler implementation.


Copyright © 2016 Silverpeas. All Rights Reserved.