public interface ConnectionHarvestingCallback
cleanup(...) method is invoked when a borrowed connection
 is harvested by the Universal Connection Pool.  Applications using
 java.sql.Connection, for instance, can invoke the
 close() and rollback() methods on this Connection
 within a cleanup() implementation.
 
 It is an error to register more than one connection harvesting
 callback on the same connection.  Any such attempt results
 in a UniversalConnectionPoolException at the pool layer
 or an exception specific to the type of a Universal Connection Pool
 Adapter (for example, JDBC, JCA, and so forth).UniversalConnectionPool, 
UniversalPooledConnection, 
PoolDataSource| Modifier and Type | Method and Description | 
|---|---|
boolean | 
cleanup()
Cleans up a connection being harvested before the connetion is returned
 to the connection pool. 
 |