public class CustomerCreditItemWriter extends Object implements ItemWriter<CustomerCredit>
Constructor and Description |
---|
CustomerCreditItemWriter() |
Modifier and Type | Method and Description |
---|---|
void |
setCustomerCreditDao(CustomerCreditDao customerCreditDao)
Public setter for the
CustomerCreditDao . |
void |
write(List<? extends CustomerCredit> customerCredits)
Process the supplied data element.
|
public void setCustomerCreditDao(CustomerCreditDao customerCreditDao)
CustomerCreditDao
.customerCreditDao
- the CustomerCreditDao
to setpublic void write(List<? extends CustomerCredit> customerCredits) throws Exception
ItemWriter
write
in interface ItemWriter<CustomerCredit>
Exception
- if there are errors. The framework will catch the
exception and convert or rethrow it as appropriate.Copyright © 2014 Pivotal. All rights reserved.