edu.internet2.middleware.grouper.hibernate
Interface GrouperTransactionHandler


public interface GrouperTransactionHandler

Use this class to make your anonymous inner class for transactions with grouper (if transactions are supported by your DAO strategy configured in grouper.properties)

Author:
mchyzer

Method Summary
 Object callback(GrouperTransaction grouperTransaction)
          This method will be called with the grouper transaction object to do what you wish.
 

Method Detail

callback

Object callback(GrouperTransaction grouperTransaction)
                throws GrouperDAOException
This method will be called with the grouper transaction object to do what you wish. Note, RuntimeExceptions can be thrown by this method... others should be handled somehow.

Parameters:
grouperTransaction - is the grouper transaction
Returns:
the return value to be passed to return value of callback method
Throws:
GrouperDAOException - if there is a problem, or runtime ones