edu.internet2.middleware.grouperClient.jdbc
Class GcEntityCallback<T>

java.lang.Object
  extended by edu.internet2.middleware.grouperClient.jdbc.GcEntityCallback<T>
Type Parameters:
T - is the type of object that will be returned.

public abstract class GcEntityCallback<T>
extends java.lang.Object

Object that gets a call for each entity created from a resultset; save heap space.

Author:
harveycg

Constructor Summary
GcEntityCallback()
           
 
Method Summary
abstract  boolean callback(T t)
          Get a callback for each entity created from the rows of a resultset; save heap space.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GcEntityCallback

public GcEntityCallback()
Method Detail

callback

public abstract boolean callback(T t)
                          throws java.lang.Exception
Get a callback for each entity created from the rows of a resultset; save heap space.

Parameters:
t - is the thing hydrated from the resultset.
Returns:
true to continue, false to exit the resulset scroll.
Throws:
java.lang.Exception - if things go wrong in your code.