Class DummyItemWriter
- java.lang.Object
- org.springframework.batch.sample.support.DummyItemWriter
- All Implemented Interfaces:
ItemWriter<java.lang.Object>
public class DummyItemWriter extends java.lang.Object implements ItemWriter<java.lang.Object>
- Author:
- Dave Syer
Constructor Summary
Constructors Constructor Description DummyItemWriter()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
write(java.util.List<? extends java.lang.Object> item)
Process the supplied data element.
Method Detail
write
public void write(java.util.List<? extends java.lang.Object> item) throws java.lang.Exception
Description copied from interface:ItemWriter
Process the supplied data element. Will not be called with any null items in normal operation.- Specified by:
write
in interfaceItemWriter<java.lang.Object>
- Parameters:
item
- items to be written- Throws:
java.lang.Exception
- if there are errors. The framework will catch the exception and convert or rethrow it as appropriate.