org.logicalcobwebs.proxool
Class ProxoolDriver
java.lang.Object
org.logicalcobwebs.proxool.ProxoolDriver
- Driver
public class ProxoolDriver
extends java.lang.Object
implements Driver
This is the Proxool implementation of the java.sql.Driver interface.
$Revision: 1.28 $, $Date: 2006/01/18 14:40:01 $- billhorsman
- $Author: billhorsman $ (current maintainer)
boolean | acceptsURL(String url)
|
Connection | connect(String url, Properties info) - The url should be of the form:
proxool:delegate-class:delegate-url
or,
proxool.name:delegate-class:delegate-url
where delegate-class is the actual Driver that will be used and
delegate-url is the url that will be based to that Driver
By defining name you are able to define multiple connection pools
even if the delegate url is the same.
|
int | getMajorVersion()
|
int | getMinorVersion()
|
DriverPropertyInfo[] | getPropertyInfo(String url, Properties info)
|
boolean | jdbcCompliant()
|
acceptsURL
public boolean acceptsURL(String url)
throws SQLException
connect
public Connection connect(String url,
Properties info)
throws SQLException
The url should be of the form:
proxool:delegate-class:delegate-url
or,
proxool.name:delegate-class:delegate-url
where
delegate-class
is the actual Driver that will be used and
delegate-url
is the url that will be based to that Driver
By defining
name
you are able to define multiple connection pools
even if the delegate url is the same. The entire url (including the proxool.name) is
used to uniquely identify this pool.
getMajorVersion
public int getMajorVersion()
getMinorVersion
public int getMinorVersion()
getPropertyInfo
public DriverPropertyInfo[] getPropertyInfo(String url,
Properties info)
throws SQLException
jdbcCompliant
public boolean jdbcCompliant()