public class LoggingItemWriter<T> extends java.lang.Object implements ItemWriter<T>
Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
logger |
Constructor and Description |
---|
LoggingItemWriter() |
Modifier and Type | Method and Description |
---|---|
void |
write(java.util.List<? extends T> items)
Process the supplied data element.
|
public void write(java.util.List<? extends T> items) throws java.lang.Exception
ItemWriter
write
in interface ItemWriter<T>
items
- items to be writtenjava.lang.Exception
- if there are errors. The framework will catch the
exception and convert or rethrow it as appropriate.