polishing
This commit is contained in:
parent
6964633909
commit
63589ef05f
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2002-2007 the original author or authors.
|
||||
* Copyright 2002-2009 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
|
@ -30,8 +30,8 @@ import org.springframework.beans.factory.InitializingBean;
|
|||
import org.springframework.core.Constants;
|
||||
|
||||
/**
|
||||
* Convenience subclass of Quartz's {@link org.quartz.CronTrigger}
|
||||
* class, making bean-style usage easier.
|
||||
* Convenience subclass of Quartz's {@link org.quartz.CronTrigger} class,
|
||||
* making bean-style usage easier.
|
||||
*
|
||||
* <p>CronTrigger itself is already a JavaBean but lacks sensible defaults.
|
||||
* This class uses the Spring bean name as job name, the Quartz default group
|
||||
|
|
@ -61,7 +61,7 @@ import org.springframework.core.Constants;
|
|||
* @see SimpleTriggerBean
|
||||
*/
|
||||
public class CronTriggerBean extends CronTrigger
|
||||
implements JobDetailAwareTrigger, BeanNameAware, InitializingBean {
|
||||
implements JobDetailAwareTrigger, BeanNameAware, InitializingBean {
|
||||
|
||||
/** Constants for the CronTrigger class */
|
||||
private static final Constants constants = new Constants(CronTrigger.class);
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2002-2006 the original author or authors.
|
||||
* Copyright 2002-2009 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
|
@ -28,8 +28,8 @@ import org.springframework.context.ApplicationContext;
|
|||
import org.springframework.context.ApplicationContextAware;
|
||||
|
||||
/**
|
||||
* Convenience subclass of Quartz' JobDetail class that eases bean-style
|
||||
* usage.
|
||||
* Convenience subclass of Quartz's {@link org.quartz.JobDetail} class,
|
||||
* making bean-style usage easier.
|
||||
*
|
||||
* <p><code>JobDetail</code> itself is already a JavaBean but lacks
|
||||
* sensible defaults. This class uses the Spring bean name as job name,
|
||||
|
|
@ -43,7 +43,7 @@ import org.springframework.context.ApplicationContextAware;
|
|||
* @see org.quartz.Scheduler#DEFAULT_GROUP
|
||||
*/
|
||||
public class JobDetailBean extends JobDetail
|
||||
implements BeanNameAware, ApplicationContextAware, InitializingBean {
|
||||
implements BeanNameAware, ApplicationContextAware, InitializingBean {
|
||||
|
||||
private Class actualJobClass;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2002-2007 the original author or authors.
|
||||
* Copyright 2002-2009 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
|
@ -29,8 +29,8 @@ import org.springframework.beans.factory.InitializingBean;
|
|||
import org.springframework.core.Constants;
|
||||
|
||||
/**
|
||||
* Convenience subclass of Quartz's {@link org.quartz.SimpleTrigger}
|
||||
* class, making bean-style usage easier.
|
||||
* Convenience subclass of Quartz's {@link org.quartz.SimpleTrigger} class,
|
||||
* making bean-style usage easier.
|
||||
*
|
||||
* <p>SimpleTrigger itself is already a JavaBean but lacks sensible defaults.
|
||||
* This class uses the Spring bean name as job name, the Quartz default group
|
||||
|
|
@ -60,7 +60,7 @@ import org.springframework.core.Constants;
|
|||
* @see CronTriggerBean
|
||||
*/
|
||||
public class SimpleTriggerBean extends SimpleTrigger
|
||||
implements JobDetailAwareTrigger, BeanNameAware, InitializingBean {
|
||||
implements JobDetailAwareTrigger, BeanNameAware, InitializingBean {
|
||||
|
||||
/** Constants for the SimpleTrigger class */
|
||||
private static final Constants constants = new Constants(SimpleTrigger.class);
|
||||
|
|
|
|||
Loading…
Reference in New Issue