edu.internet2.middleware.grouper.ldap
Interface LdapHandler


public interface LdapHandler

Implement this (usually in an anonymous inner class) to get a reference to the ldap session object

Version:
$Id: HibernateHandler.java,v 1.3 2009-02-06 16:33:18 mchyzer Exp $
Author:
mchyzer

Method Summary
 Object callback(LdapHandlerBean ldapHandlerBean)
          This method will be called with the hibernate session object to do what you wish.
 

Method Detail

callback

Object callback(LdapHandlerBean ldapHandlerBean)
                throws NamingException
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:
ldapHandlerBean - holds the ldap object to do operations on
Returns:
the return value to be passed to return value of callback method
Throws:
NamingException - if there is a problem