CronTrigger(Impl)
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 FactoryBean works against both Quartz 1.x and Quartz 2.0/2.1, in contrast to the older {@link CronTriggerBean} class. @author Juergen Hoeller @since 3.1 @see #setName @see #setGroup @see #setStartDelay @see #setJobDetail @see org.springframework.scheduling.quartz.SchedulerFactoryBean#setTriggers @see org.springframework.scheduling.quartz.SchedulerFactoryBean#setJobDetails @see org.springframework.scheduling.quartz.SimpleTriggerBean
|
|