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
 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

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(java.lang.String schedName)
                       throws SchedulerException

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

Throws:
SchedulerException

getAllSchedulers

java.util.Collection getAllSchedulers()
                                      throws SchedulerException

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

Throws:
SchedulerException


Copyright 2001-2019, Terracotta, Inc.