Class JdbcCustomerDebitDao
- java.lang.Object
- org.springframework.batch.sample.domain.trade.internal.JdbcCustomerDebitDao
- All Implemented Interfaces:
CustomerDebitDao
public class JdbcCustomerDebitDao extends java.lang.Object implements CustomerDebitDao
Reduces customer's credit by the provided amount.- Author:
- Robert Kasanicky
Constructor Summary
Constructors Constructor Description JdbcCustomerDebitDao()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetDataSource(javax.sql.DataSource dataSource)voidwrite(CustomerDebit customerDebit)
Method Detail
write
public void write(CustomerDebit customerDebit)
- Specified by:
writein interfaceCustomerDebitDao
setDataSource
@Autowired public void setDataSource(javax.sql.DataSource dataSource)