edu.internet2.middleware.grouper.hibernate
Interface HibernateHandler
public interface HibernateHandler
Implement this (usually in an anonymous inner class) to get a
reference to the hibernate session object
- Version:
- $Id: HibernateHandler.java,v 1.3 2009-02-06 16:33:18 mchyzer Exp $
- Author:
- mchyzer
Method Summary |
java.lang.Object |
callback(HibernateHandlerBean hibernateHandlerBean)
This method will be called with the hibernate session object to do
what you wish. |
callback
java.lang.Object callback(HibernateHandlerBean hibernateHandlerBean)
throws GrouperDAOException
- This method will be called with the hibernate session object to do
what you wish. Note, HibernateException or RuntimeExceptions can be
thrown by this method... others should be handled somehow..
- Parameters:
hibernateHandlerBean
- holds the hibernate session and other things
will be the same as passed in if it existed, else a new one
- Returns:
- the return value to be passed to return value of callback method
- Throws:
GrouperDAOException
- if there is a problem