From 03c3f6a57eba5d2fbdcb13c1f43889cbec6e270b Mon Sep 17 00:00:00 2001 From: dhgarrette Date: Wed, 1 Apr 2009 00:22:00 +0000 Subject: [PATCH] BATCH-1181: element always assumes the step is a TaskletStep --- src/site/docbook/reference/step.xml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/site/docbook/reference/step.xml b/src/site/docbook/reference/step.xml index b78875bc3..7cd913888 100644 --- a/src/site/docbook/reference/step.xml +++ b/src/site/docbook/reference/step.xml @@ -139,12 +139,14 @@ attribute: - <job id="sampleJob"> + <job id="sampleJob" job-repository="jobRepository"> <step id="step1" parent="standaloneStep" /> </job> <step id="standaloneStep"> - <tasklet reader="itemReader" writer="itemWriter" commit-interval="10"/> + <tasklet job-repository="jobRepository" transaction-manager="transactionManager"> + <chunk reader="itemReader" writer="itemWriter" commit-interval="10"/> + </tasklet> </step> @@ -154,7 +156,7 @@ - The Id will be used as the step name when persisting the + The id will be used as the step name when persisting the StepExecution. If the same standalone step is referenced in more than one step in the job, an error will occur.