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 . This allows
SchedulerFactoryBean to automatically register a trigger for the corresponding JobDetail,
instead of registering the JobDetail separately.
NOTE: This convenience subclass does not work with trigger
persistence in Quartz 1.6, due to a change in Quartz's trigger handling.
Use Quartz 1.5 if you rely on trigger persistence based on this class,
or the standard Quartz
org.quartz.CronTrigger class instead.
author: Juergen Hoeller since: 18.02.2004 See Also: CronTriggerBean.setName See Also: CronTriggerBean.setGroup See Also: CronTriggerBean.setStartTime See Also: CronTriggerBean.setJobName See Also: CronTriggerBean.setJobGroup See Also: CronTriggerBean.setJobDetail See Also: SchedulerFactoryBean.setTriggers See Also: SchedulerFactoryBean.setJobDetails See Also: SimpleTriggerBean |