org.springframework.batch.sample.domain.trade.internal
Class CustomerCreditItemWriter
java.lang.Object
org.springframework.batch.sample.domain.trade.internal.CustomerCreditItemWriter
- All Implemented Interfaces:
- org.springframework.batch.item.ItemWriter<CustomerCredit>
public class CustomerCreditItemWriter
- extends Object
- implements org.springframework.batch.item.ItemWriter<CustomerCredit>
Delegates actual writing to a custom DAO.
- Author:
- Robert Kasanicky
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CustomerCreditItemWriter
public CustomerCreditItemWriter()
setCustomerCreditDao
public void setCustomerCreditDao(CustomerCreditDao customerCreditDao)
- Public setter for the
CustomerCreditDao.
- Parameters:
customerCreditDao - the CustomerCreditDao to set
write
public void write(List<? extends CustomerCredit> customerCredits)
throws Exception
- Specified by:
write in interface org.springframework.batch.item.ItemWriter<CustomerCredit>
- Throws:
Exception
Copyright © 2013. All Rights Reserved.