-
Notifications
You must be signed in to change notification settings - Fork 2.3k
/
job-context-with-steps.xml
27 lines (24 loc) · 1.03 KB
/
job-context-with-steps.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
https://www.springframework.org/schema/beans/spring-beans.xsd">
<bean id="job1"
class="org.springframework.batch.core.job.JobSupport">
<property name="steps">
<list>
<bean id="step11" class="org.springframework.batch.core.step.StepSupport"/>
<bean id="step12" class="org.springframework.batch.core.step.StepSupport"/>
</list>
</property>
</bean>
<bean id="job2"
class="org.springframework.batch.core.job.JobSupport">
<property name="steps">
<list>
<bean id="step21" class="org.springframework.batch.core.step.StepSupport"/>
<bean id="step22" class="org.springframework.batch.core.step.StepSupport"/>
</list>
</property>
</bean>
</beans>