aicas logo Jamaica 3.4 release 8

com.sun.jndi.ldap.pool
Interface PooledConnection

All Known Implementing Classes:
LdapClient

public interface PooledConnection

Represents a connection that is managed in a pool. The connection may be reused by multiple clients. A pooled connection typically has a close method that its clients use to indicate that they no longer need the connection. This close method would interact with the connection pool to return the connection to the pool (see PoolCallback).

The pooled connection also needs to provide a close method that the connection pool can use to physically close the connection. The pool might need to physically close the connection as determined by the pool's policy (for example, to manage the pool size or idle connections). This second close method should *not* use PoolCallback methods. It should only do what is required to close the physical connection.


Method Summary
 void closeConnection()
          Closes the physical connection.
 

Method Detail

closeConnection

void closeConnection()
Closes the physical connection.


aicas logo Jamaica 3.4 release 8

aicas GmbH, Karlsruhe - Germany    www.aicas.com
Copyright 2001-2009 aicas GmbH. All Rights Reserved.