Polishing
This commit is contained in:
parent
a2e6b56dd0
commit
c65a82a32d
|
|
@ -170,7 +170,7 @@ public class MethodInvokingJobDetailFactoryBean extends ArgumentConvertingMethod
|
|||
// Build JobDetail instance.
|
||||
JobDetailImpl jdi = new JobDetailImpl();
|
||||
jdi.setName(name);
|
||||
jdi.setGroup(group);
|
||||
jdi.setGroup(this.group);
|
||||
jdi.setJobClass((Class) jobClass);
|
||||
jdi.setDurability(true);
|
||||
jdi.getJobDataMap().put("methodInvoker", this);
|
||||
|
|
|
|||
|
|
@ -124,7 +124,7 @@ public abstract class SchedulerAccessor implements ResourceLoaderAware {
|
|||
*/
|
||||
public void setJobDetails(JobDetail... jobDetails) {
|
||||
// Use modifiable ArrayList here, to allow for further adding of
|
||||
// JobDetail objects during autodetection of JobDetailAwareTriggers.
|
||||
// JobDetail objects during autodetection of JobDetail-aware Triggers.
|
||||
this.jobDetails = new ArrayList<JobDetail>(Arrays.asList(jobDetails));
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -475,7 +475,6 @@ public class SchedulerFactoryBean extends SchedulerAccessor implements FactoryBe
|
|||
configTimeNonTransactionalDataSourceHolder.set(this.nonTransactionalDataSource);
|
||||
}
|
||||
|
||||
|
||||
// Get Scheduler instance from SchedulerFactory.
|
||||
try {
|
||||
this.scheduler = createScheduler(schedulerFactory, this.schedulerName);
|
||||
|
|
|
|||
Loading…
Reference in New Issue