com.sun.jndi.ldap.pool.PoolCallback |
Represents a callback used to release or remove a PooledConnection back into the pool. A pooled connection typically has a close method that its clients use to indicate that they no longer need the connection. This close method should use the methods defined in this interface to interact with the connection pool to return the connection to the pool. The methods in this interface are typically invoked by a PooledConnection. The methods in this interface are typically implemented by the connection pool manager.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Releases a useable connection back to the pool.
| |||||||||||
Removes a connection from the pool.
|
Releases a useable connection back to the pool.
conn | The connection to release. |
---|
Removes a connection from the pool. The connection should not be reused. The physical connection should have already been closed.
conn | The connection to return. |
---|