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