Expose Job parameters in JdbcSearchableJobExecutionDao
See https://jira.springsource.org/browse/BATCHADM-176 Must be applied after https://github.com/spring-projects/spring-batch/pull/231 As part of this, I had to update the dependency on spring-batch to 3.0.0-BUILD_SNAPSHOT. Because of this dependency change, I had to add two methods to JobRepositorySupport. It looks like a stub class, so I left the two methods implemented as stubs.
This commit is contained in:
committed by
Michael Minella
parent
1eb57b9aa1
commit
c6b804bfe3
@@ -34,7 +34,7 @@
|
||||
</developers>
|
||||
<properties>
|
||||
<maven.test.failure.ignore>false</maven.test.failure.ignore>
|
||||
<spring.batch.version>2.2.2.RELEASE</spring.batch.version>
|
||||
<spring.batch.version>3.0.0.BUILD-SNAPSHOT</spring.batch.version>
|
||||
<spring.framework.version>3.2.1.RELEASE</spring.framework.version>
|
||||
<spring.integration.version>2.2.5.RELEASE</spring.integration.version>
|
||||
<spring.retry.version>1.0.2.RELEASE</spring.retry.version>
|
||||
|
||||
@@ -99,4 +99,14 @@ public class JobRepositorySupport implements JobRepository {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public JobInstance createJobInstance(String jobName,
|
||||
JobParameters jobParameters) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public JobExecution createJobExecution(JobInstance jobInstance,
|
||||
JobParameters jobParameters, String jobConfigurationLocation) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user