Interface LdapHandler<T>

Type Parameters:
T -

public interface LdapHandler<T>
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 $
  • Method Summary

    Modifier and Type
    Method
    Description
    callback(LdapHandlerBean<T> ldapHandlerBean)
    This method will be called with the hibernate session object to do what you wish.
  • Method Details

    • callback

      Object callback(LdapHandlerBean<T> ldapHandlerBean) throws Exception
      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:
      Exception