RESOLVED - BATCH-1241: SystemCommandTasklet package name is not accurate
This commit is contained in:
@@ -466,7 +466,7 @@
|
||||
<classname>Tasklet</classname> implementation for calling system
|
||||
commands:</para>
|
||||
|
||||
<programlisting> <bean class="org.springframework.batch.sample.tasklet.SystemCommandTasklet">
|
||||
<programlisting> <bean class="org.springframework.batch.core.step.tasklet.SystemCommandTasklet">
|
||||
<property name="command" value="echo hello" />
|
||||
<!-- 5 second timeout for the command to complete -->
|
||||
<property name="timeout" value="5000" />
|
||||
@@ -526,7 +526,7 @@
|
||||
<classname>Step</classname> <classname>ExecutionContext</classname> is
|
||||
updated every time the <classname>Step</classname> commits a chunk while
|
||||
the <classname>Job</classname> <classname>ExecutionContext</classname> is
|
||||
updated only at the end of each <classname>Step</classname>. </para>
|
||||
updated only at the end of each <classname>Step</classname>.</para>
|
||||
|
||||
<para>The consequence of this separation is that all data must be placed
|
||||
in the <classname>Step</classname> <classname>ExecutionContext</classname>
|
||||
@@ -535,7 +535,7 @@
|
||||
on-going. If data is stored to the <classname>Job</classname>
|
||||
<classname>ExecutionContext</classname>, then it will not be persisted
|
||||
during <classname>Step</classname> execution and if the
|
||||
<classname>Step</classname> fails, that data will be lost. </para>
|
||||
<classname>Step</classname> fails, that data will be lost.</para>
|
||||
|
||||
<programlisting>public void MyItemWriter implements ItemWriter<Object> {
|
||||
private StepExecution stepExecution;
|
||||
|
||||
Reference in New Issue
Block a user