| |
|
| java.lang.Object org.apache.commons.dbcp.PoolingDataSource
PoolingDataSource | public class PoolingDataSource implements DataSource(Code) | | A simple
DataSource implementation that obtains
Connection s from the specified
ObjectPool .
author: Rodney Waldhoff author: Glenn L. Nielsen author: James House author: Dirk Verbeeck version: $Revision: 479137 $ $Date: 2006-11-25 08:51:48 -0700 (Sat, 25 Nov 2006) $ |
_pool | protected ObjectPool _pool(Code) | | |
PoolingDataSource | public PoolingDataSource()(Code) | | |
PoolingDataSource | public PoolingDataSource(ObjectPool pool)(Code) | | |
isAccessToUnderlyingConnectionAllowed | public boolean isAccessToUnderlyingConnectionAllowed()(Code) | | Returns the value of the accessToUnderlyingConnectionAllowed property.
true if access to the underlying is allowed, false otherwise. |
setAccessToUnderlyingConnectionAllowed | public void setAccessToUnderlyingConnectionAllowed(boolean allow)(Code) | | Sets the value of the accessToUnderlyingConnectionAllowed property.
It controls if the PoolGuard allows access to the underlying connection.
(Default: false)
Parameters: allow - Access to the underlying connection is granted when true. |
|
|
|