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