org.quartz
Interface SchedulerFactory

All Known Implementing Classes:
StdSchedulerFactory, DirectSchedulerFactory

public interface SchedulerFactory

Provides a mechanism for obtaining client-usable handles to Scheduler instances.

Author:
James House
See Also:
Scheduler, StdSchedulerFactory

Method Summary
 java.util.Collection getAllSchedulers()
           Returns handles to all known Schedulers (made by any SchedulerFactory within this jvm.).
 Scheduler getScheduler()
           Returns a client-usable handle to a Scheduler.
 Scheduler getScheduler(java.lang.String schedName)
           Returns a handle to the Scheduler with the given name, if it exists.
 

Method Detail

getScheduler

public Scheduler getScheduler()
                       throws SchedulerException

Returns a client-usable handle to a Scheduler.

Throws:
SchedulerException - if there is a problem with the underlying Scheduler.

getScheduler

public Scheduler getScheduler(java.lang.String schedName)
                       throws SchedulerException

Returns a handle to the Scheduler with the given name, if it exists.


getAllSchedulers

public java.util.Collection getAllSchedulers()
                                      throws SchedulerException

Returns handles to all known Schedulers (made by any SchedulerFactory within this jvm.).


Quartz Project Page