REOPENED - issue BATCH-222: StreamManager for reader/writer abstractions uses StreamContext to position at the right place for restart

http://jira.springframework.org/browse/BATCH-222

ALign some dependencies - SimpleStepExecutor does not need a transaction manager
This commit is contained in:
dsyer
2008-02-04 16:13:28 +00:00
parent 8773b55f8b
commit 2aa895bfb6
5 changed files with 86 additions and 53 deletions

View File

@@ -87,7 +87,7 @@
<property name="jobRepository" ref="jobRepository" />
<property name="transactionManager" ref="transactionManager" />
<property name="allowStartIfComplete" value="true" />
<property name="saveStreamContext" value="false" />
<property name="saveStreamContext" value="true" />
</bean>
<bean id="simpleStep" parent="abstractStep"
@@ -101,16 +101,11 @@
</bean>
</property>
<property name="commitInterval" value="1" />
<property name="saveStreamContext" value="true" />
</bean>
<bean id="repeatOperationsStep" parent="abstractStep"
class="org.springframework.batch.execution.step.simple.RepeatOperationsStep"
abstract="true">
<property name="allowStartIfComplete" value="true" />
<property name="saveStreamContext" value="false" />
<property name="jobRepository" ref="jobRepository" />
<property name="transactionManager" ref="transactionManager" />
</bean>
<bean id="customEditorConfigurer"