| Constructor and Description |
|---|
PoolingDriver() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptsURL(String url) |
void |
closePool(String name) |
Connection |
connect(String url,
Properties info) |
ObjectPool |
getConnectionPool(String name) |
int |
getMajorVersion() |
int |
getMinorVersion() |
Logger |
getParentLogger() |
String[] |
getPoolNames() |
DriverPropertyInfo[] |
getPropertyInfo(String url,
Properties info) |
void |
invalidateConnection(Connection conn)
Invalidates the given connection.
|
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.
|
public boolean acceptsURL(String url) throws SQLException
acceptsURL in interface DriverSQLExceptionpublic void closePool(String name) throws SQLException
SQLExceptionpublic Connection connect(String url, Properties info) throws SQLException
connect in interface DriverSQLExceptionpublic ObjectPool getConnectionPool(String name) throws SQLException
SQLExceptionpublic int getMajorVersion()
getMajorVersion in interface Driverpublic int getMinorVersion()
getMinorVersion in interface Driverpublic Logger getParentLogger() throws SQLFeatureNotSupportedException
getParentLogger in interface DriverSQLFeatureNotSupportedExceptionpublic String[] getPoolNames()
public DriverPropertyInfo[] getPropertyInfo(String url, Properties info)
getPropertyInfo in interface Driverpublic void invalidateConnection(Connection conn) throws SQLException
conn - connection to invalidateSQLException - if the connection is not a
PoolGuardConnectionWrapper or an error occurs invalidating
the connectionpublic static boolean isAccessToUnderlyingConnectionAllowed()
public boolean jdbcCompliant()
jdbcCompliant in interface Driverpublic void registerPool(String name, ObjectPool pool)
public static void setAccessToUnderlyingConnectionAllowed(boolean allow)
allow - Access to the underlying connection is granted when true.Copyright © 2001-2004 Apache Software Foundation. Documenation generated July 9 2012.