net.sf.emarket.quote.repository
Class JdbcInstrumentDaoImpl

java.lang.Object
  extended by net.sf.emarket.quote.repository.JdbcInstrumentDaoImpl
All Implemented Interfaces:
IInstrumentDao

@Repository
public class JdbcInstrumentDaoImpl
extends java.lang.Object
implements IInstrumentDao


Constructor Summary
JdbcInstrumentDaoImpl()
           
 
Method Summary
 void addInstrument(Instrument instrument)
           
 void createTemplate(javax.sql.DataSource jdbcDatasource)
           
 void deleteInstrument(java.lang.String symbol)
           
 Instrument getInstrument(java.lang.String symbol)
           
 void updateInstrument(Instrument instrument)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JdbcInstrumentDaoImpl

public JdbcInstrumentDaoImpl()
Method Detail

createTemplate

public void createTemplate(@Qualifier(value="jdbcDataSource")
                           javax.sql.DataSource jdbcDatasource)

addInstrument

public void addInstrument(Instrument instrument)
Specified by:
addInstrument in interface IInstrumentDao

getInstrument

public Instrument getInstrument(java.lang.String symbol)
Specified by:
getInstrument in interface IInstrumentDao

updateInstrument

public void updateInstrument(Instrument instrument)
Specified by:
updateInstrument in interface IInstrumentDao

deleteInstrument

public void deleteInstrument(java.lang.String symbol)
Specified by:
deleteInstrument in interface IInstrumentDao


Copyright © 2009. All Rights Reserved.