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 {@link org.quartz.JobDetail}. This allows {@link SchedulerFactoryBean}to automatically register a trigger for the corresponding JobDetail, instead of registering the JobDetail separately.
NOTE: This convenience subclass does not work against Quartz 2.0. Use Quartz 2.0's native JobDetailImpl
class or the new Quartz 2.0 builder API instead. Alternatively, switch to Spring's {@link CronTriggerFactoryBean}which largely is a drop-in replacement for this class and its properties and consistently works against Quartz 1.x as well as Quartz 2.0/2.1.
@author Juergen Hoeller
@since 18.02.2004
@see #setName
@see #setGroup
@see #setStartTime
@see #setJobName
@see #setJobGroup
@see #setJobDetail
@see SchedulerFactoryBean#setTriggers
@see SchedulerFactoryBean#setJobDetails
@see SimpleTriggerBean
|
|
|
|
|
|