类 CustomerUpdateWriter
- java.lang.Object
- org.springframework.batch.sample.domain.trade.internal.CustomerUpdateWriter
- 所有已实现的接口:
ItemWriter<Trade>
public class CustomerUpdateWriter extends java.lang.Object implements ItemWriter<Trade>
Transforms Trade to a CustomerDebit and asks DAO delegate to write the result.- 作者:
- Robert Kasanicky
构造器概要
构造器 构造器 说明 CustomerUpdateWriter()
构造器详细资料
CustomerUpdateWriter
public CustomerUpdateWriter()
方法详细资料
write
public void write(java.util.List<? extends Trade> trades)
从接口复制的说明:ItemWriter
Process the supplied data element. Will not be called with any null items in normal operation.- 指定者:
write
在接口中ItemWriter<Trade>
- 参数:
trades
- items to be written
setDao
public void setDao(CustomerDebitDao outputSource)