void function ( PooledConnection arg0 ) { Object loc0 = pcMap . get ( arg0 ) ; if ( loc0 == null ) { throw new IllegalStateException ( NO_KEY_MESSAGE ) ; } try { _pool . invalidateObject ( loc0 ) ; _pool . close ( ) ; } catch ( Exception loc1 ) { throw ( SQLException ) new SQLException ( "srini_string" ) . initCause ( loc1 ) ; } }
invalidates the pooledconnection in the pool . the cpdsconnectionfactory closes the connection and pool counters are updated appropriately . also closes the pool . this ensures that all idle connections are closed and connections that are checked out are closed on return . concode_field_sep ConnectionPoolDataSource _cpds concode_elem_sep ObjectPool _pool concode_elem_sep boolean _rollbackAfterValidation concode_elem_sep WeakHashMap pcMap concode_elem_sep Map validatingMap concode_elem_sep String NO_KEY_MESSAGE concode_elem_sep String _username concode_elem_sep String _password concode_elem_sep String _validationQuery concode_field_sep void connectionErrorOccurred concode_elem_sep void setPassword concode_elem_sep void destroyObject concode_elem_sep boolean validateObject concode_elem_sep ObjectPool getPool concode_elem_sep Object makeObject concode_elem_sep void closePool concode_elem_sep void passivateObject concode_elem_sep void connectionClosed concode_elem_sep void activateObject