Fix typos in ref guide

This commit is contained in:
dsyer
2010-09-01 08:05:11 +00:00
parent 2ac38f6781
commit 0a0af29616
2 changed files with 4 additions and 4 deletions

View File

@@ -566,7 +566,7 @@ public Trade read() throws Exception {
<programlisting>&lt;job id="job1"&gt;
&lt;step id="step1"&gt;
&lt;tasket&gt;
&lt;tasklet&gt;
&lt;chunk reader="reader" writer="savingWriter" commit-interval="10"/&gt;
&lt;listeners&gt;
<emphasis role="bold">&lt;listener ref="promotionListener"/&gt;</emphasis>
@@ -586,7 +586,7 @@ public Trade read() throws Exception {
<para>Finally, to the saved values must be retrieved from the
<classname>Job</classname> <classname>ExeuctionContext</classname>:</para>
<programlisting>public void RetrievingItemWriter implements ItemWriter&lt;Object&gt; {
<programlisting>public class RetrievingItemWriter implements ItemWriter&lt;Object&gt; {
private Object someObject;
public void write(List&lt;? extends Object&gt; items) throws Exception {

View File

@@ -995,9 +995,9 @@ itemWriter.write(items);</programlisting>
wrapped in a transaction. <classname>Tasklet</classname> implementors
might call a stored procedure, a script, or a simple SQL update statement.
To create a <classname>TaskletStep</classname>, the 'ref' attribute of the
&lt;tasket/&gt; element should reference a bean defining a
&lt;tasklet/&gt; element should reference a bean defining a
<classname>Tasklet</classname> object; no &lt;chunk/&gt; element should be
used within the &lt;tasket/&gt;:</para>
used within the &lt;tasklet/&gt;:</para>
<programlisting>&lt;step id="step1"&gt;
&lt;tasklet <classname>ref="myTasklet"</classname>/&gt;