Interface ConnectionCallback<T>

    • Method Detail

      • doWithConnection

        T doWithConnection​(LdapConnection connection)
                    throws LdapException
        Provides a managed connection to the implementation of this method. The implementation is not responsible for open/close or borrow/return.
        Parameters:
        connection - The connection supplied to the implementation.
        Returns:
        Anything you want
        Throws:
        LdapException - If you want to