com.ibatis.sqlmap.engine.mapping.statement
Class RowHandlerCallback

java.lang.Object
  extended bycom.ibatis.sqlmap.engine.mapping.statement.RowHandlerCallback

public class RowHandlerCallback
extends java.lang.Object

Class to manager row handler access


Constructor Summary
RowHandlerCallback(ResultMap resultMap, java.lang.Object resultObject, RowHandler rowHandler)
          Constructor
 
Method Summary
 RowHandler getRowHandler()
           
 void handleResultObject(RequestScope request, java.lang.Object[] results, java.sql.ResultSet rs)
          Prepares the row object, and passes it to the row handler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RowHandlerCallback

public RowHandlerCallback(ResultMap resultMap,
                          java.lang.Object resultObject,
                          RowHandler rowHandler)
Constructor

Parameters:
resultMap - - the result map
resultObject - - the result object
rowHandler - - the row handler object
Method Detail

handleResultObject

public void handleResultObject(RequestScope request,
                               java.lang.Object[] results,
                               java.sql.ResultSet rs)
                        throws java.sql.SQLException
Prepares the row object, and passes it to the row handler

Parameters:
request - - the request scope
results - - the result data
Throws:
java.sql.SQLException

getRowHandler

public RowHandler getRowHandler()