org.springframework.batch.sample.domain.football.internal
Class JdbcGameDao
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springframework.jdbc.core.support.JdbcDaoSupport
org.springframework.jdbc.core.simple.SimpleJdbcDaoSupport
org.springframework.batch.sample.domain.football.internal.JdbcGameDao
- All Implemented Interfaces:
- ItemWriter<Game>, InitializingBean
public class JdbcGameDao
- extends SimpleJdbcDaoSupport
- implements ItemWriter<Game>
Method Summary |
protected void |
initDao()
|
void |
write(List<? extends Game> games)
Process the supplied data element. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JdbcGameDao
public JdbcGameDao()
initDao
protected void initDao()
throws Exception
- Overrides:
initDao
in class DaoSupport
- Throws:
Exception
write
public void write(List<? extends Game> games)
- Description copied from interface:
ItemWriter
- Process the supplied data element. Will not be called with any null items
in normal operation.
- Specified by:
write
in interface ItemWriter<Game>
Copyright © 2009 SpringSource. All Rights Reserved.