Misc. Name changes. (Mostly as a result of JobConfiguration -> job)
This commit is contained in:
@@ -70,7 +70,7 @@
|
||||
<property name="interfaces">
|
||||
<list>
|
||||
<value>
|
||||
org.springframework.batch.sample.ExportedJobConfigurationLoader
|
||||
org.springframework.batch.sample.ExportedJobLoader
|
||||
</value>
|
||||
</list>
|
||||
</property>
|
||||
@@ -89,8 +89,8 @@
|
||||
key="spring:service=batch,bean=jobLauncher"
|
||||
value="org.springframework.batch.execution.bootstrap.support.ExportedJobLauncher" />
|
||||
<entry
|
||||
key="spring:service=batch,bean=configurationLoader"
|
||||
value="org.springframework.batch.sample.JobConfigurationLoader" />
|
||||
key="spring:service=batch,bean=jobLoader"
|
||||
value="org.springframework.batch.sample.JobLoader" />
|
||||
</map>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
@@ -127,7 +127,7 @@ public class JdbcJobRepositoryTests extends AbstractTransactionalDataSourceSprin
|
||||
cacheJobIds(execution);
|
||||
execution.setEndTime(new Timestamp(System.currentTimeMillis()));
|
||||
repository.saveOrUpdate(execution);
|
||||
JobInstance job = execution.getJob();
|
||||
JobInstance job = execution.getJobInstance();
|
||||
job.setStatus(BatchStatus.FAILED);
|
||||
repository.update(job);
|
||||
setComplete();
|
||||
|
||||
Reference in New Issue
Block a user