BATCH-1013: split the <step> elements name attribute into id and ref attributes

This commit is contained in:
trisberg
2009-02-10 04:52:03 +00:00
parent 52628ea904
commit d3396a3fa7
63 changed files with 251 additions and 171 deletions

View File

@@ -12,11 +12,25 @@
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop-2.0.xsd">
<beans:import resource="sample-steps.xml" />
<job id="sampleFlowJob">
<step name="step1" next="step2"/>
<step name="step2"/>
<step id="step1" ref="s1" next="step2"/>
<step id="step2" ref="s2"/>
</job>
<beans:bean id="s1" parent="taskletStep">
<beans:property name="tasklet">
<beans:bean class="org.springframework.batch.test.sample.SampleTasklet">
<beans:constructor-arg value="1" />
</beans:bean>
</beans:property>
</beans:bean>
<beans:bean id="s2" parent="taskletStep">
<beans:property name="tasklet">
<beans:bean class="org.springframework.batch.test.sample.SampleTasklet">
<beans:constructor-arg value="2" />
</beans:bean>
</beans:property>
</beans:bean>
</beans:beans>