Home » iBatis-2.3.4 » com.ibatis.sqlmap.engine.mapping » result » loader » [javadoc | source]
com.ibatis.sqlmap.engine.mapping.result.loader
public class: LazyResultLoader [javadoc | source]
java.lang.Object
   com.ibatis.sqlmap.engine.mapping.result.loader.LazyResultLoader

All Implemented Interfaces:
    InvocationHandler

Class to lazily load results into objects
Field Summary
protected  ExtendedSqlMapClient client     
protected  String statementName     
protected  Object parameterObject     
protected  Class targetType     
protected  boolean loaded     
protected  Object resultObject     
Constructor:
 public LazyResultLoader(ExtendedSqlMapClient client,
    String statementName,
    Object parameterObject,
    Class targetType) 
    Constructor for a lazy list loader
    Parameters:
    client - - the client that is creating the lazy list
    statementName - - the statement to be used to build the list
    parameterObject - - the parameter object to be used to build the list
    targetType - - the type we are putting data into
Method from com.ibatis.sqlmap.engine.mapping.result.loader.LazyResultLoader Summary:
invoke,   loadResult
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.ibatis.sqlmap.engine.mapping.result.loader.LazyResultLoader Detail:
 public Object invoke(Object o,
    Method method,
    Object[] objects) throws Throwable 
 public Object loadResult() throws SQLException 
    Loads the result