org.quartz
Interface SchedulerFactory

All Known Implementing Classes:
DirectSchedulerFactory, StdSchedulerFactory

public interface SchedulerFactory

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

Author:
James House
See Also:
Scheduler, StdSchedulerFactory

Method Summary
 Collection<Scheduler> 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(String schedName)
           Returns a handle to the Scheduler with the given name, if it exists.
 

Method Detail

getScheduler

Scheduler getScheduler()
                       throws SchedulerException

Returns a client-usable handle to a Scheduler.

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

getScheduler

Scheduler getScheduler(String schedName)
                       throws SchedulerException

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

Throws:
SchedulerException

getAllSchedulers

Collection<Scheduler> getAllSchedulers()
                                       throws SchedulerException

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

Throws:
SchedulerException


Copyright 2001-2015, Terracotta, Inc.