public class FlatFileCustomerCreditDao extends java.lang.Object implements CustomerCreditDao, org.springframework.beans.factory.DisposableBean
CustomerCreditDao
Constructor and Description |
---|
FlatFileCustomerCreditDao() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
destroy() |
void |
open(ExecutionContext executionContext) |
void |
setItemWriter(ItemWriter<java.lang.String> itemWriter) |
void |
setSeparator(java.lang.String separator) |
void |
writeCredit(CustomerCredit customerCredit) |
public void writeCredit(CustomerCredit customerCredit) throws java.lang.Exception
writeCredit
in interface CustomerCreditDao
java.lang.Exception
public void setSeparator(java.lang.String separator)
public void setItemWriter(ItemWriter<java.lang.String> itemWriter)
public void open(ExecutionContext executionContext) throws java.lang.Exception
java.lang.Exception
public void close() throws java.lang.Exception
java.lang.Exception
public void destroy() throws java.lang.Exception
destroy
in interface org.springframework.beans.factory.DisposableBean
java.lang.Exception