This method should be used when an object that has been borrowed is determined (due to an exception or other problem) to be invalid. If the connection should be validated before or after borrowing, then the {@link PoolableObjectFactory#validateObject} method should beused instead. @param obj a {@link #borrowObject borrowed} instance to be returned.
This method should be used when an object that has been borrowed is determined (due to an exception or other problem) to be invalid. If the connection should be validated before or after borrowing, then the {@link PoolableObjectFactory#validateObject} method should beused instead. @param obj a {@link #borrowObject borrowed} instance to be returned.
Invalidates the given object instance. Decrements the active count and destroys the instance.
@param obj instance to invalidate @throws Exception if an exception occurs destroying the objectInvalidates an object from the pool.
By contract, obj
must have been obtained using {@link #borrowObject borrowObject} or a related method as defined inan implementation or sub-interface.
This method should be used when an object that has been borrowed is determined (due to an exception or other problem) to be invalid.
@param obj a {@link #borrowObject borrowed} instance to be disposed. @throws Exception
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|