diff --git a/docs/src/site/docbook/reference/domain.xml b/docs/src/site/docbook/reference/domain.xml index 47bb0bc52..85701fd0a 100644 --- a/docs/src/site/docbook/reference/domain.xml +++ b/docs/src/site/docbook/reference/domain.xml @@ -999,4 +999,34 @@ written out. More details about the ItemProcessor interface can be found in . + +
+ Batch Namespace + + Many of the domain concepts listed above need to be configured in a + Spring ApplicationContext. While there are + implementations of the interfaces above that can be used in a standard + bean definition, a namespace has been provided for ease of + configuration: + + <beans:beans xmlns="http://www.springframework.org/schema/batch" + xmlns:beans="http://www.springframework.org/schema/beans" + xsi:schemaLocation=" + http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd + http://www.springframework.org/schema/batch http://www.springframework.org/schema/batch/spring-batch-2.0.xsd> + + <job id="ioSampleJob"> + <step id="step1"> + <tasklet reader="itemReader" processor="itemProcessor" writer="itemWriter" commit-interval="2"/> + </step> + </job> + + </beans:beans> + + As long as the batch namespace has been declared, any of its + elements can be used. More information on configuring a + Job can be found in . More information on configuring a Step can be + found in . +