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

java.lang.Object
  extended by com.ibatis.sqlmap.engine.mapping.statement.RowHandlerCallback

public class RowHandlerCallback
extends Object

Class to manager row handler access


Constructor Summary
RowHandlerCallback(ResultMap resultMap, Object resultObject, RowHandler rowHandler)
          Constructor
 
Method Summary
 RowHandler getRowHandler()
           
 void handleResultObject(StatementScope statementScope, Object[] results, 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,
                          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(StatementScope statementScope,
                               Object[] results,
                               ResultSet rs)
                        throws SQLException
Prepares the row object, and passes it to the row handler

Parameters:
statementScope - - the request scope
results - - the result data
Throws:
SQLException

getRowHandler

public RowHandler getRowHandler()


Copyright © 2010. All Rights Reserved.