org.logicalcobwebs.proxool
Class ProxoolDriver
java.lang.Object
   org.logicalcobwebs.proxool.ProxoolDriver
org.logicalcobwebs.proxool.ProxoolDriver
- All Implemented Interfaces: 
- java.sql.Driver
- public class ProxoolDriver 
- extends java.lang.Object- implements java.sql.Driver
This is the Proxool implementation of the java.sql.Driver interface.
- Version:
- $Revision: 1.27 $, $Date: 2004/06/02 20:41:13 $
- Author:
- billhorsman, $Author: billhorsman $ (current maintainer)
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
LOG
private static final Log LOG
ATTRIBUTE_DESCRIPTIONS_RESOURCE
private static final java.util.ResourceBundle ATTRIBUTE_DESCRIPTIONS_RESOURCE
ProxoolDriver
public ProxoolDriver()
createAttributeDescriptionsResource
private static java.util.ResourceBundle createAttributeDescriptionsResource()
- 
 
- 
 
connect
public java.sql.Connection connect(java.lang.String url,
                                   java.util.Properties info)
                            throws java.sql.SQLException
- The url should be of the form:
 
   proxool:delegate-class:delegate-url
  or,
   proxool.name:delegate-class:delegate-url
  wheredelegate-class is the actual Driver that will be used anddelegate-url is the url that will be based to that Driver
 By definingname 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.
 
- 
- Specified by:
- connectin interface- java.sql.Driver
 
- 
- Throws:
- java.sql.SQLException
 
acceptsURL
public boolean acceptsURL(java.lang.String url)
                   throws java.sql.SQLException
- 
- Specified by:
- acceptsURLin interface- java.sql.Driver
 
- 
- Throws:
- java.sql.SQLException
- See Also:
- Driver.acceptsURL(java.lang.String)
 
getPropertyInfo
public java.sql.DriverPropertyInfo[] getPropertyInfo(java.lang.String url,
                                                     java.util.Properties info)
                                              throws java.sql.SQLException
- 
- Specified by:
- getPropertyInfoin interface- java.sql.Driver
 
- 
- Throws:
- java.sql.SQLException
- See Also:
- Driver.getPropertyInfo(java.lang.String, java.util.Properties)
 
buildDriverPropertyInfo
private java.sql.DriverPropertyInfo buildDriverPropertyInfo(java.lang.String propertyName,
                                                            java.lang.String value)
- 
 
- 
 
getMajorVersion
public int getMajorVersion()
- 
- Specified by:
- getMajorVersionin interface- java.sql.Driver
 
- 
- See Also:
- Driver.getMajorVersion()
 
getMinorVersion
public int getMinorVersion()
- 
- Specified by:
- getMinorVersionin interface- java.sql.Driver
 
- 
- See Also:
- Driver.getMinorVersion()
 
jdbcCompliant
public boolean jdbcCompliant()
- 
- Specified by:
- jdbcCompliantin interface- java.sql.Driver
 
- 
- See Also:
- Driver.jdbcCompliant()