org.springframework.batch.sample.domain.trade.internal
Class JdbcCustomerDebitDao

java.lang.Object
  extended by org.springframework.batch.sample.domain.trade.internal.JdbcCustomerDebitDao
All Implemented Interfaces:
CustomerDebitDao

public class JdbcCustomerDebitDao
extends Object
implements CustomerDebitDao

Reduces customer's credit by the provided amount.

Author:
Robert Kasanicky

Constructor Summary
JdbcCustomerDebitDao()
           
 
Method Summary
 void setDataSource(DataSource dataSource)
           
 void write(CustomerDebit customerDebit)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JdbcCustomerDebitDao

public JdbcCustomerDebitDao()
Method Detail

write

public void write(CustomerDebit customerDebit)
Specified by:
write in interface CustomerDebitDao

setDataSource

public void setDataSource(DataSource dataSource)


Copyright © 2009 SpringSource. All Rights Reserved.