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");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with 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;
|
import org.springframework.core.Constants;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Convenience subclass of Quartz's {@link org.quartz.CronTrigger}
|
* Convenience subclass of Quartz's {@link org.quartz.CronTrigger} class,
|
||||||
* class, making bean-style usage easier.
|
* making bean-style usage easier.
|
||||||
*
|
*
|
||||||
* <p>CronTrigger itself is already a JavaBean but lacks sensible defaults.
|
* <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
|
* 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
|
* @see SimpleTriggerBean
|
||||||
*/
|
*/
|
||||||
public class CronTriggerBean extends CronTrigger
|
public class CronTriggerBean extends CronTrigger
|
||||||
implements JobDetailAwareTrigger, BeanNameAware, InitializingBean {
|
implements JobDetailAwareTrigger, BeanNameAware, InitializingBean {
|
||||||
|
|
||||||
/** Constants for the CronTrigger class */
|
/** Constants for the CronTrigger class */
|
||||||
private static final Constants constants = new Constants(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");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with 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;
|
import org.springframework.context.ApplicationContextAware;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Convenience subclass of Quartz' JobDetail class that eases bean-style
|
* Convenience subclass of Quartz's {@link org.quartz.JobDetail} class,
|
||||||
* usage.
|
* making bean-style usage easier.
|
||||||
*
|
*
|
||||||
* <p><code>JobDetail</code> itself is already a JavaBean but lacks
|
* <p><code>JobDetail</code> itself is already a JavaBean but lacks
|
||||||
* sensible defaults. This class uses the Spring bean name as job name,
|
* 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
|
* @see org.quartz.Scheduler#DEFAULT_GROUP
|
||||||
*/
|
*/
|
||||||
public class JobDetailBean extends JobDetail
|
public class JobDetailBean extends JobDetail
|
||||||
implements BeanNameAware, ApplicationContextAware, InitializingBean {
|
implements BeanNameAware, ApplicationContextAware, InitializingBean {
|
||||||
|
|
||||||
private Class actualJobClass;
|
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");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with 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;
|
import org.springframework.core.Constants;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Convenience subclass of Quartz's {@link org.quartz.SimpleTrigger}
|
* Convenience subclass of Quartz's {@link org.quartz.SimpleTrigger} class,
|
||||||
* class, making bean-style usage easier.
|
* making bean-style usage easier.
|
||||||
*
|
*
|
||||||
* <p>SimpleTrigger itself is already a JavaBean but lacks sensible defaults.
|
* <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
|
* 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
|
* @see CronTriggerBean
|
||||||
*/
|
*/
|
||||||
public class SimpleTriggerBean extends SimpleTrigger
|
public class SimpleTriggerBean extends SimpleTrigger
|
||||||
implements JobDetailAwareTrigger, BeanNameAware, InitializingBean {
|
implements JobDetailAwareTrigger, BeanNameAware, InitializingBean {
|
||||||
|
|
||||||
/** Constants for the SimpleTrigger class */
|
/** Constants for the SimpleTrigger class */
|
||||||
private static final Constants constants = new Constants(SimpleTrigger.class);
|
private static final Constants constants = new Constants(SimpleTrigger.class);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue