public class CustomerCreditUpdateWriter extends java.lang.Object implements ItemWriter<CustomerCredit>
Constructor and Description |
---|
CustomerCreditUpdateWriter() |
Modifier and Type | Method and Description |
---|---|
void |
setCreditFilter(double creditFilter) |
void |
setDao(CustomerCreditDao dao) |
void |
write(java.util.List<? extends CustomerCredit> customerCredits)
Process the supplied data element.
|
public void write(java.util.List<? extends CustomerCredit> customerCredits) throws java.lang.Exception
ItemWriter
write
in interface ItemWriter<CustomerCredit>
customerCredits
- 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 setCreditFilter(double creditFilter)
public void setDao(CustomerCreditDao dao)