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 void
setDataSource(javax.sql.DataSource dataSource)
void
write(CustomerDebit customerDebit)
Method Detail
write
public void write(CustomerDebit customerDebit)
- Specified by:
write
in interfaceCustomerDebitDao
setDataSource
@Autowired public void setDataSource(javax.sql.DataSource dataSource)