OPEN - issue BATCH-303: Replace repeat contexts in core domain with boolean flag that can be checked by executors

http://jira.springframework.org/browse/BATCH-303
This commit is contained in:
dsyer
2008-01-22 13:52:17 +00:00
parent 552549f897
commit eeddeff59b
2 changed files with 11 additions and 12 deletions

View File

@@ -91,8 +91,7 @@ public class DefaultJobExecutor implements JobExecutor {
updateStatus(execution, BatchStatus.STARTED);
StepExecutor stepExecutor = stepExecutorFactory
.getExecutor(step);
StepExecution stepExecution = new StepExecution(stepInstance,
execution);
StepExecution stepExecution = execution.createStepExecution(stepInstance);
status = stepExecutor.process(step,
stepExecution);
}