|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.batch.item.support.CompositeItemWriter<T>
public class CompositeItemWriter<T>
Calls a collection of ItemWriters in fixed-order sequence.
The implementation is thread-safe if all delegates are thread-safe.
| Constructor Summary | |
|---|---|
CompositeItemWriter()
|
|
| Method Summary | |
|---|---|
void |
setDelegates(ItemWriter<? super T>[] delegates)
|
void |
write(java.util.List<? extends T> item)
Calls injected ItemProcessors in order. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CompositeItemWriter()
| Method Detail |
|---|
public void setDelegates(ItemWriter<? super T>[] delegates)
public void write(java.util.List<? extends T> item)
throws java.lang.Exception
write in interface ItemWriter<T>java.lang.Exception - if there are errors. The framework will catch the
exception and convert or rethrow it as appropriate.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||