<?xml version="1.0" encoding="UTF-8"?>
<beans:beans xmlns="http://www.springframework.org/schema/batch" xmlns:beans="http://www.springframework.org/schema/beans"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://www.springframework.org/schema/batch http://www.springframework.org/schema/batch/spring-batch-2.2.xsd
	http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd">

	<beans:import resource="common-context.xml" />

	<step id="inlineHandlers">
		<tasklet>
			<chunk commit-interval="5">
				<reader>
					<beans:bean class="org.springframework.batch.core.configuration.xml.TestReader"/>
				</reader>

				<processor>
					<beans:bean class="org.springframework.batch.core.configuration.xml.TestProcessor"/>
				</processor>

				<writer>
					<beans:bean class="org.springframework.batch.core.configuration.xml.TestWriter"/>
				</writer>
			</chunk>
		</tasklet>
	</step>

	<step id="inlineAdapters">
		<tasklet>
			<chunk commit-interval="5">
				<reader adapter-method="dummyRead">
					<beans:bean class="org.springframework.batch.core.configuration.xml.DummyItemHandlerAdapter"/>
				</reader>

				<processor adapter-method="dummyProcess">
					<beans:bean class="org.springframework.batch.core.configuration.xml.DummyItemHandlerAdapter"/>
				</processor>

				<writer adapter-method="dummyWrite">
					<beans:bean class="org.springframework.batch.core.configuration.xml.DummyItemHandlerAdapter"/>
				</writer>
			</chunk>
		</tasklet>
	</step>

</beans:beans>