Interface LdapHandler<T,R>
- Type Parameters:
T
-R
-
public interface LdapHandler<T,R>
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 TypeMethodDescriptioncallback
(LdapHandlerBean<T> ldapHandlerBean) This method will be called with the hibernate session object to do what you wish.
-
Method Details
-
callback
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
-