org.apache.commons.dbcp
public class PoolingDriver extends Object implements Driver
Version: $Revision: 1.12 $ $Date: 2004/05/17 18:39:44 $
| Constructor Summary | |
|---|---|
| PoolingDriver() | |
| Method Summary | |
|---|---|
| boolean | acceptsURL(String url) |
| void | closePool(String name) |
| Connection | connect(String url, Properties info) |
| ObjectPool | getConnectionPool(String name) |
| int | getMajorVersion() |
| int | getMinorVersion() |
| ObjectPool | getPool(String name)
WARNING: This method throws DbcpExceptions (RuntimeExceptions)
and will be replaced by the protected getConnectionPool method.
|
| String[] | getPoolNames() |
| DriverPropertyInfo[] | getPropertyInfo(String url, Properties info) |
| static boolean | isAccessToUnderlyingConnectionAllowed()
Returns the value of the accessToUnderlyingConnectionAllowed property.
|
| boolean | jdbcCompliant() |
| void | registerPool(String name, ObjectPool pool) |
| static void | setAccessToUnderlyingConnectionAllowed(boolean allow)
Sets the value of the accessToUnderlyingConnectionAllowed property.
|
Deprecated: This will be removed in a future version of DBCP.
WARNING: This method throws DbcpExceptions (RuntimeExceptions) and will be replaced by the protected getConnectionPool method.Returns: true if access to the underlying is allowed, false otherwise.
Parameters: allow Access to the underlying connection is granted when true.