BATCH-1533: update docs
This commit is contained in:
@@ -249,7 +249,7 @@ public class FoobarWriter implements ItemWriter<FooBar>{
|
|||||||
List itemProcessors = new ArrayList();
|
List itemProcessors = new ArrayList();
|
||||||
itemProcessors.add(new FooTransformer());
|
itemProcessors.add(new FooTransformer());
|
||||||
itemProcessors.add(new BarTransformer());
|
itemProcessors.add(new BarTransformer());
|
||||||
compositeProcessor.setItemProcessors(itemProcessors);</programlisting>
|
compositeProcessor.setDelegates(itemProcessors);</programlisting>
|
||||||
|
|
||||||
<para>Just as with the previous example, the composite processor can be
|
<para>Just as with the previous example, the composite processor can be
|
||||||
configured into the <classname>Step</classname>:</para>
|
configured into the <classname>Step</classname>:</para>
|
||||||
@@ -265,7 +265,7 @@ compositeProcessor.setItemProcessors(itemProcessors);</programlisting>
|
|||||||
|
|
||||||
<bean id="compositeItemProcessor"
|
<bean id="compositeItemProcessor"
|
||||||
class="org.springframework.batch.item.support.CompositeItemProcessor">
|
class="org.springframework.batch.item.support.CompositeItemProcessor">
|
||||||
<property name="itemProcessors">
|
<property name="delegates">
|
||||||
<list>
|
<list>
|
||||||
<bean class="..FooProcessor" />
|
<bean class="..FooProcessor" />
|
||||||
<bean class="..BarProcessor" />
|
<bean class="..BarProcessor" />
|
||||||
|
|||||||
@@ -337,7 +337,7 @@ template.execute(new RetryCallback<Foo>() {
|
|||||||
|
|
||||||
<programlisting><aop:config>
|
<programlisting><aop:config>
|
||||||
<aop:pointcut id="transactional"
|
<aop:pointcut id="transactional"
|
||||||
expression="execution(* com...*Service.remoteCall(..))" />
|
expression="execution(* com..*Service.remoteCall(..))" />
|
||||||
<aop:advisor pointcut-ref="transactional"
|
<aop:advisor pointcut-ref="transactional"
|
||||||
advice-ref="retryAdvice" order="-1"/>
|
advice-ref="retryAdvice" order="-1"/>
|
||||||
</aop:config>
|
</aop:config>
|
||||||
|
|||||||
Reference in New Issue
Block a user