public class CustomerUpdateWriter extends java.lang.Object implements ItemWriter<CustomerUpdate>
| Constructor and Description |
|---|
CustomerUpdateWriter() |
| Modifier and Type | Method and Description |
|---|---|
void |
setCustomerDao(CustomerDao customerDao) |
void |
write(java.util.List<? extends CustomerUpdate> items)
Process the supplied data element.
|
public void write(java.util.List<? extends CustomerUpdate> items) throws java.lang.Exception
ItemWriterwrite in interface ItemWriter<CustomerUpdate>items - items to be writtenjava.lang.Exception - if there are errors. The framework will catch the
exception and convert or rethrow it as appropriate.public void setCustomerDao(CustomerDao customerDao)