Fix typos in ref guide
This commit is contained in:
@@ -566,7 +566,7 @@ public Trade read() throws Exception {
|
||||
|
||||
<programlisting><job id="job1">
|
||||
<step id="step1">
|
||||
<tasket>
|
||||
<tasklet>
|
||||
<chunk reader="reader" writer="savingWriter" commit-interval="10"/>
|
||||
<listeners>
|
||||
<emphasis role="bold"><listener ref="promotionListener"/></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<Object> {
|
||||
<programlisting>public class RetrievingItemWriter implements ItemWriter<Object> {
|
||||
private Object someObject;
|
||||
|
||||
public void write(List<? extends Object> items) throws Exception {
|
||||
|
||||
@@ -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
|
||||
<tasket/> element should reference a bean defining a
|
||||
<tasklet/> element should reference a bean defining a
|
||||
<classname>Tasklet</classname> object; no <chunk/> element should be
|
||||
used within the <tasket/>:</para>
|
||||
used within the <tasklet/>:</para>
|
||||
|
||||
<programlisting><step id="step1">
|
||||
<tasklet <classname>ref="myTasklet"</classname>/>
|
||||
|
||||
Reference in New Issue
Block a user