Package com.netscape.certsrv.connector
Interface IHttpConnFactory
public interface IHttpConnFactory
Maintains a pool of connections to to a Remote Authority.
Utilized by the IHttpConnector interface.
Multiple threads use this interface to utilize and release
the Ldap connection resources. This factory will maintain a
list of Http type connections to the remote host.
- Version:
- $Revision$, $Date$
-
Method Summary
Modifier and TypeMethodDescriptiongetConn()
Request access to a Ldap connection from the pool.void
returnConn
(IHttpConnection conn) Return connection to the factory.
-
Method Details
-
getConn
Request access to a Ldap connection from the pool.- Returns:
- Ldap connection object. connection is not available
- Throws:
EBaseException
- if any error occurs, such as a
-
returnConn
Return connection to the factory. mandatory after a getConn().- Parameters:
conn
- Ldap connection object to be returned to the free list of the pool.- Throws:
EBaseException
- On any failure to return the connection.
-