Modify factory method signature in JobExecution to make it not dependent on non-entity

This commit is contained in:
dsyer
2008-09-03 10:29:45 +00:00
parent 40b65bafb2
commit e4a76749b9
12 changed files with 21 additions and 39 deletions

View File

@@ -69,7 +69,7 @@ public class StepExecutionMessageHandler {
JobExecution jobExecution = request.getJobExecution();
JobInstance jobInstance = jobExecution.getJobInstance();
StepExecution stepExecution = jobExecution.createStepExecution(step);
StepExecution stepExecution = jobExecution.createStepExecution(step.getName());
try {
StepExecution lastStepExecution = jobRepository.getLastStepExecution(jobInstance, step);