BATCH-1533: update docs

This commit is contained in:
dsyer
2010-03-22 16:07:07 +00:00
parent e2d1c3d920
commit 2468a51eab
2 changed files with 3 additions and 3 deletions

View File

@@ -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>
&lt;bean id="compositeItemProcessor"
class="org.springframework.batch.item.support.CompositeItemProcessor"&gt;
&lt;property name="itemProcessors"&gt;
&lt;property name="delegates"&gt;
&lt;list&gt;
&lt;bean class="..FooProcessor" /&gt;
&lt;bean class="..BarProcessor" /&gt;

View File

@@ -337,7 +337,7 @@ template.execute(new RetryCallback&lt;Foo&gt;() {
<programlisting>&lt;aop:config&gt;
&lt;aop:pointcut id="transactional"
expression="execution(* com...*Service.remoteCall(..))" /&gt;
expression="execution(* com..*Service.remoteCall(..))" /&gt;
&lt;aop:advisor pointcut-ref="transactional"
advice-ref="retryAdvice" order="-1"/&gt;
&lt;/aop:config&gt;