org.logicalcobwebs.proxool
类 ProxoolDriver

java.lang.Object
  继承者 org.logicalcobwebs.proxool.ProxoolDriver
所有已实现的接口:
Driver

public class ProxoolDriver
extends 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)

构造方法摘要
ProxoolDriver()
           
 
方法摘要
 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()
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

ProxoolDriver

public ProxoolDriver()
方法详细信息

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.

指定者:
接口 Driver 中的 connect
抛出:
SQLException

acceptsURL

public boolean acceptsURL(String url)
                   throws SQLException
指定者:
接口 Driver 中的 acceptsURL
抛出:
SQLException
另请参见:
Driver.acceptsURL(java.lang.String)

getPropertyInfo

public DriverPropertyInfo[] getPropertyInfo(String url,
                                            Properties info)
                                     throws SQLException
指定者:
接口 Driver 中的 getPropertyInfo
抛出:
SQLException
另请参见:
Driver.getPropertyInfo(java.lang.String, java.util.Properties)

getMajorVersion

public int getMajorVersion()
指定者:
接口 Driver 中的 getMajorVersion
另请参见:
Driver.getMajorVersion()

getMinorVersion

public int getMinorVersion()
指定者:
接口 Driver 中的 getMinorVersion
另请参见:
Driver.getMinorVersion()

jdbcCompliant

public boolean jdbcCompliant()
指定者:
接口 Driver 中的 jdbcCompliant
另请参见:
Driver.jdbcCompliant()


Copyright © 2014. All rights reserved.