/* See LICENSE for licensing and NOTICE for copyright. */
package org.ldaptive;
/**
* Provides an interface for initializing connections after they are opened.
*
* @author Middleware Services
*/
public interface ConnectionInitializer
{
/**
* Initialize the supplied connection.
*
* @param conn connection to initialize
*
* @return response associated with the initialization or an empty response
*
* @throws LdapException if initialization fails
*/
Response<Void> initialize(Connection conn)
throws LdapException;
}