RESOLVED - issue BATCH-158: Dependency cycle between execution.step and execution.step.simple
http://opensource.atlassian.com/projects/spring/browse/BATCH-158 StepConfiguration had to pick up an extra flag in the interface, and the configuration implementations had to be separate from the executor implementations. Also fixed a cycle in core (JobIdentifier is part of domain).
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
<bean parent="jobExecutor">
|
||||
<property name="stepExecutorFactory">
|
||||
<bean
|
||||
class="org.springframework.batch.execution.step.DefaultStepExecutorFactory">
|
||||
class="org.springframework.batch.execution.step.PrototypeBeanStepExecutorFactory">
|
||||
<property name="stepExecutorName"
|
||||
value="notifyingStepExecutor" />
|
||||
</bean>
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
<bean id="jobExecutor" class="org.springframework.batch.execution.job.DefaultJobExecutor">
|
||||
<property name="jobRepository" ref="simpleJobRepository" />
|
||||
<property name="stepExecutorFactory">
|
||||
<bean class="org.springframework.batch.execution.step.DefaultStepExecutorFactory">
|
||||
<bean class="org.springframework.batch.execution.step.PrototypeBeanStepExecutorFactory">
|
||||
<property name="stepExecutorName" value="stepExecutor" />
|
||||
</bean>
|
||||
</property>
|
||||
@@ -83,7 +83,7 @@
|
||||
<property name="restartable" value="true" />
|
||||
</bean>
|
||||
|
||||
<bean id="simpleStep" class="org.springframework.batch.execution.step.simple.SimpleStepConfiguration"
|
||||
<bean id="simpleStep" class="org.springframework.batch.execution.step.SimpleStepConfiguration"
|
||||
abstract="true">
|
||||
<property name="allowStartIfComplete" value="true" />
|
||||
<property name="saveRestartData" value="false" />
|
||||
|
||||
Reference in New Issue
Block a user