org.springframework.batch.sample.domain.trade
Class CustomerUpdateWriter
java.lang.Object
org.springframework.batch.sample.domain.trade.CustomerUpdateWriter
- All Implemented Interfaces:
- ItemWriter<CustomerUpdate>
public class CustomerUpdateWriter
- extends Object
- implements ItemWriter<CustomerUpdate>
- Author:
- Lucas Ward
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CustomerUpdateWriter
public CustomerUpdateWriter()
write
public void write(List<? extends CustomerUpdate> items)
throws 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 interface ItemWriter<CustomerUpdate>
- Throws:
Exception
- if there are errors. The framework will catch the
exception and convert or rethrow it as appropriate.
setCustomerDao
public void setCustomerDao(CustomerDao customerDao)
Copyright © 2009 SpringSource. All Rights Reserved.