org.springframework.scheduling.quartz |
Support classes for the open source scheduler
Quartz,
allowing to set up Quartz Schedulers, JobDetails and
Triggers as beans in a Spring context. Also provides
convenience classes for implementing Quartz Jobs.
|
Java Source File Name | Type | Comment |
AdaptableJobFactory.java | Class | JobFactory implementation that supports
java.lang.Runnable objects as well as standard Quartz
org.quartz.Job instances. |
CronTriggerBean.java | Class | Convenience subclass of Quartz's
org.quartz.CronTrigger class, making bean-style usage easier.
CronTrigger itself is already a JavaBean but lacks sensible defaults.
This class uses the Spring bean name as job name, the Quartz default group
("DEFAULT") as job group, the current time as start time, and indefinite
repetition, if not specified.
This class will also register the trigger with the job name and group of
a given
org.quartz.JobDetail . |
DelegatingJob.java | Class | Simple Quartz
org.quartz.Job adapter that delegates to a
given
java.lang.Runnable instance. |
JobDetailAwareTrigger.java | Interface | Interface to be implemented by Quartz Triggers that are aware
of the JobDetail object that they are associated with. |
JobDetailBean.java | Class | Convenience subclass of Quartz' JobDetail class that eases bean-style
usage.
JobDetail itself is already a JavaBean but lacks
sensible defaults.
|
LocalDataSourceJobStore.java | Class | Subclass of Quartz's JobStoreCMT class that delegates to a Spring-managed
DataSource instead of using a Quartz-managed connection pool. |
LocalTaskExecutorThreadPool.java | Class | Quartz ThreadPool adapter that delegates to a Spring-managed
TaskExecutor instance, specified on SchedulerFactoryBean. |
MethodInvokingJobDetailFactoryBean.java | Class | org.springframework.beans.factory.FactoryBean that exposes a
org.quartz.JobDetail object which delegates job execution to a
specified (static or non-static) method. |
QuartzJobBean.java | Class | Simple implementation of the Quartz Job interface, applying the
passed-in JobDataMap and also the SchedulerContext as bean property
values. |
ResourceJobSchedulingDataProcessor.java | Class | Subclass of Quartz' JobSchedulingDataProcessor that considers
given filenames as Spring resource locations. |
SchedulerContextAware.java | Interface | Callback interface to be implemented by Spring-managed
Quartz artifacts that need access to the SchedulerContext
(without having natural access to it). |
SchedulerFactoryBean.java | Class | FactoryBean that sets up a Quartz
org.quartz.Scheduler ,
manages its lifecycle as part of the Spring application context,
and exposes the Scheduler reference for dependency injection.
Allows registration of JobDetails, Calendars and Triggers, automatically
starting the scheduler on initialization and shutting it down on destruction.
In scenarios that just require static registration of jobs at startup, there
is no need to access the Scheduler instance itself in application code.
For dynamic registration of jobs at runtime, use a bean reference to
this SchedulerFactoryBean to get direct access to the Quartz Scheduler
(org.quartz.Scheduler ). |
SimpleThreadPoolTaskExecutor.java | Class | Subclass of Quartz's SimpleThreadPool that implements Spring's
TaskExecutor interface and listens to Spring lifecycle callbacks. |
SimpleTriggerBean.java | Class | Convenience subclass of Quartz's
org.quartz.SimpleTrigger class, making bean-style usage easier.
SimpleTrigger itself is already a JavaBean but lacks sensible defaults.
This class uses the Spring bean name as job name, the Quartz default group
("DEFAULT") as job group, the current time as start time, and indefinite
repetition, if not specified.
This class will also register the trigger with the job name and group of
a given
org.quartz.JobDetail . |
SpringBeanJobFactory.java | Class | Subclass of
AdaptableJobFactory that also supports Spring-style
dependency injection on bean properties. |