Package org.quartz
Interface SchedulerFactory
-
- All Known Implementing Classes:
DirectSchedulerFactory,StdSchedulerFactory
public interface SchedulerFactoryProvides a mechanism for obtaining client-usable handles toSchedulerinstances.- Author:
- James House
- See Also:
Scheduler,StdSchedulerFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Collection<Scheduler>getAllSchedulers()Returns handles to all known Schedulers (made by any SchedulerFactory within this jvm.).SchedulergetScheduler()Returns a client-usable handle to aScheduler.SchedulergetScheduler(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 underlyingScheduler.
-
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<Scheduler> getAllSchedulers() throws SchedulerException
Returns handles to all known Schedulers (made by any SchedulerFactory within this jvm.).
- Throws:
SchedulerException
-
-