Package 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.
Interface Summary Interface Description SchedulerContextAware Callback interface to be implemented by Spring-managed Quartz artifacts that need access to the SchedulerContext (without having natural access to it).Class Summary Class Description AdaptableJobFactory CronTriggerFactoryBean A SpringFactoryBean
for creating a QuartzCronTrigger
instance, supporting bean-style usage for trigger configuration.DelegatingJob JobDetailFactoryBean A SpringFactoryBean
for creating a QuartzJobDetail
instance, supporting bean-style usage for JobDetail configuration.LocalDataSourceJobStore Subclass of Quartz'sJobStoreCMT
class that delegates to a Spring-managedDataSource
instead of using a Quartz-managed JDBC connection pool.LocalTaskExecutorThreadPool QuartzThreadPool
adapter that delegates to a Spring-managedExecutor
instance, specified onSchedulerFactoryBean
.MethodInvokingJobDetailFactoryBean FactoryBean
that exposes aJobDetail
object which delegates job execution to a specified (static or non-static) method.MethodInvokingJobDetailFactoryBean.MethodInvokingJob Quartz Job implementation that invokes a specified method.MethodInvokingJobDetailFactoryBean.StatefulMethodInvokingJob Extension of the MethodInvokingJob, implementing the StatefulJob interface.QuartzJobBean Simple implementation of the Quartz Job interface, applying the passed-in JobDataMap and also the SchedulerContext as bean property values.ResourceLoaderClassLoadHelper Wrapper that adapts from the QuartzClassLoadHelper
interface onto Spring'sResourceLoader
interface.SchedulerAccessor Common base class for accessing a Quartz Scheduler, i.e.SchedulerAccessorBean Spring bean-style class for accessing a Quartz Scheduler, i.e.SchedulerFactoryBean FactoryBean
that creates and configures a QuartzScheduler
, manages its lifecycle as part of the Spring application context, and exposes the Scheduler as bean reference for dependency injection.SimpleThreadPoolTaskExecutor Subclass of Quartz's SimpleThreadPool that implements Spring'sTaskExecutor
interface and listens to Spring lifecycle callbacks.SimpleTriggerFactoryBean A SpringFactoryBean
for creating a QuartzSimpleTrigger
instance, supporting bean-style usage for trigger configuration.SpringBeanJobFactory Subclass ofAdaptableJobFactory
that also supports Spring-style dependency injection on bean properties.Exception Summary Exception Description JobMethodInvocationFailedException Unchecked exception that wraps an exception thrown from a target method.