org.apache.commons.dbcp
クラス PoolingDriver
java.lang.Object
org.apache.commons.dbcp.PoolingDriver
- すべての実装インタフェース:
- Driver
- public class PoolingDriver
- extends Object
- implements Driver
登録された ObjectPool から Connection を取得する Driver の実装です。
A {@link Driver} implementation that obtains
{@link Connection}s from a registered
{@link ObjectPool}.
- バージョン:
- $Id: PoolingDriver.java,v 1.1.1.1 2004/02/13 10:02:03 hioki Exp $
- 作成者:
- Rodney Waldhoff
- 翻訳者:
- 日置 聡
- 翻訳状況:
- 初稿(校正者募集中)
- 翻訳更新日:
- 2003/09/20
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_pools
protected static HashMap _pools
- 登録されたプールのマップです。
The map of registered pools.
MAJOR_VERSION
protected static int MAJOR_VERSION
MINOR_VERSION
protected static int MINOR_VERSION
URL_PREFIX
protected static String URL_PREFIX
- URLプレフィックスです。
My URL prefix
URL_PREFIX_LEN
protected static int URL_PREFIX_LEN
PoolingDriver
public PoolingDriver()
acceptsURL
public boolean acceptsURL(String url)
throws SQLException
- 定義:
- インタフェース
Driver 内の acceptsURL
- 例外:
SQLException
connect
public Connection connect(String url,
Properties info)
throws SQLException
- 定義:
- インタフェース
Driver 内の connect
- 例外:
SQLException
getMajorVersion
public int getMajorVersion()
- 定義:
- インタフェース
Driver 内の getMajorVersion
getMinorVersion
public int getMinorVersion()
- 定義:
- インタフェース
Driver 内の getMinorVersion
getPool
public org.apache.commons.pool.ObjectPool getPool(String name)
getPropertyInfo
public DriverPropertyInfo[] getPropertyInfo(String url,
Properties info)
- 定義:
- インタフェース
Driver 内の getPropertyInfo
jdbcCompliant
public boolean jdbcCompliant()
- 定義:
- インタフェース
Driver 内の jdbcCompliant
registerPool
public void registerPool(String name,
org.apache.commons.pool.ObjectPool pool)
このドキュメントは、Ja-Jakartaにより訳されました。 コメントがある場合は report@jajakarta.orgまでお願いします。
Translated into Japanese by jajakarta.org. The original page is here.
Copyright (c) 2002-2003 - Apache Software Foundation