org.oddjob.sql
Class BeanFactoryResultHandler
java.lang.Object
org.oddjob.sql.BeanFactoryResultHandler
- All Implemented Interfaces:
- SQLResultHandler
- Direct Known Subclasses:
- SQLResultsBus
public abstract class BeanFactoryResultHandler
- extends Object
- implements SQLResultHandler
A SQLResultHandler
that creates beans.
- Author:
- rob
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BeanFactoryResultHandler
public BeanFactoryResultHandler(ArooaSession session)
handleResultSet
public final void handleResultSet(ResultSet resultSet,
DatabaseDialect dialect)
throws SQLException,
ClassNotFoundException
- Specified by:
handleResultSet
in interface SQLResultHandler
- Throws:
SQLException
ClassNotFoundException
handleUpdate
public final void handleUpdate(int updateCount,
DatabaseDialect dialect)
- Specified by:
handleUpdate
in interface SQLResultHandler
accept
protected abstract void accept(Object bean)
setBusConductor
public void setBusConductor(BusConductor busConductor)
- Specified by:
setBusConductor
in interface SQLResultHandler