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 . 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.SimpleTrigger class instead.
author: Juergen Hoeller since: 18.02.2004 See Also: SimpleTriggerBean.setName See Also: SimpleTriggerBean.setGroup See Also: SimpleTriggerBean.setStartTime See Also: SimpleTriggerBean.setJobName See Also: SimpleTriggerBean.setJobGroup See Also: SimpleTriggerBean.setJobDetail See Also: SchedulerFactoryBean.setTriggers See Also: SchedulerFactoryBean.setJobDetails See Also: CronTriggerBean |