亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? dbconnectionprovider.java

?? Jvie論壇的程序
?? JAVA
字號(hào):
/**
 * Copyright (C) 2001 Yasna.com. All rights reserved.
 *
 * ===================================================================
 * The Apache Software License, Version 1.1
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 *
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer.
 *
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in
 *    the documentation and/or other materials provided with the
 *    distribution.
 *
 * 3. The end-user documentation included with the redistribution,
 *    if any, must include the following acknowledgment:
 *       "This product includes software developed by
 *        Yasna.com (http://www.yasna.com)."
 *    Alternately, this acknowledgment may appear in the software itself,
 *    if and wherever such third-party acknowledgments normally appear.
 *
 * 4. The names "Yazd" and "Yasna.com" must not be used to
 *    endorse or promote products derived from this software without
 *    prior written permission. For written permission, please
 *    contact yazd@yasna.com.
 *
 * 5. Products derived from this software may not be called "Yazd",
 *    nor may "Yazd" appear in their name, without prior written
 *    permission of Yasna.com.
 *
 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
 * DISCLAIMED.  IN NO EVENT SHALL YASNA.COM OR
 * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
 * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
 * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 * SUCH DAMAGE.
 * ====================================================================
 *
 * This software consists of voluntary contributions made by many
 * individuals on behalf of Yasna.com. For more information
 * on Yasna.com, please see <http://www.yasna.com>.
 */

/**
 * Copyright (C) 2000 CoolServlets.com. All rights reserved.
 *
 * ===================================================================
 * The Apache Software License, Version 1.1
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 *
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer.
 *
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in
 *    the documentation and/or other materials provided with the
 *    distribution.
 *
 * 3. The end-user documentation included with the redistribution,
 *    if any, must include the following acknowledgment:
 *       "This product includes software developed by
 *        CoolServlets.com (http://www.coolservlets.com)."
 *    Alternately, this acknowledgment may appear in the software itself,
 *    if and wherever such third-party acknowledgments normally appear.
 *
 * 4. The names "Jive" and "CoolServlets.com" must not be used to
 *    endorse or promote products derived from this software without
 *    prior written permission. For written permission, please
 *    contact webmaster@coolservlets.com.
 *
 * 5. Products derived from this software may not be called "Jive",
 *    nor may "Jive" appear in their name, without prior written
 *    permission of CoolServlets.com.
 *
 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
 * DISCLAIMED.  IN NO EVENT SHALL COOLSERVLETS.COM OR
 * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
 * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
 * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 * SUCH DAMAGE.
 * ====================================================================
 *
 * This software consists of voluntary contributions made by many
 * individuals on behalf of CoolServlets.com. For more information
 * on CoolServlets.com, please see <http://www.coolservlets.com>.
 */

package com.Yasna.forum.database;

import java.sql.Connection;
import java.util.Enumeration;

/**
 * Abstract class that defines the connection provider framework. Other classes
 * extend this abstract class to make connection to actual data sources.
 */
public abstract class DbConnectionProvider {

    /** Dummy values. Override in subclasses. **/
    private static final String NAME = "";
    private static final String DESCRIPTION = "";
    private static final String AUTHOR = "";
    private static final int MAJOR_VERSION = 0;
    private static final int MINOR_VERSION = 0;
    private static final boolean POOLED = false;

    /**
     * Returns the name of the connection provider.
     *
     * @return the name of the connection provider.
     */
    public String getName() {
        return NAME;
    }

    /**
     * Returns a description of the connection provider.
     *
     * @return the description of the connection provider.
     */
    public String getDescription() {
        return DESCRIPTION;
    }

    /**
     * Returns the author of the connection provider.
     *
     * @return the name of the author of this connection provider.
     */
    public String getAuthor() {
        return AUTHOR;
    }

    /**
     * Returns the major version of the connection provider, i.e. 1.x.
     *
     * @return the major version number of the provider.
     */
    public int getMajorVersion() {
        return MAJOR_VERSION;
    }

    /**
     * Returns the minor version of the connection provider, i.e. x.1.
     *
     * @return the minor version number of the provider.
     */
    public int getMinorVersion() {
        return MINOR_VERSION;
    }

    /**
     * Returns true if this connection provider provides connections out
     * of a connection pool. Implementing and using connection providers that
     * are pooled is strongly recommended, as they greatly increase the speed
     * of Yazd.
     *
     * @return true if the Connection objects returned by this provider are
     *      pooled.
     */
    public boolean isPooled() {
        return POOLED;
    }

    /**
     * Returns a database connection. When a Yazd component is done with a
     * connection, it will call the close method of that connection. Therefore,
     * connection pools with special release methods are not directly
     * supported by the connection provider infrastructure. Instead, connections
     * from those pools should be wrapped such that calling the close method
     * on the wrapper class will release the connection from the pool.
     *
     * @return a Connection object.
     */
    public abstract Connection getConnection();

    /**
     * Starts the connection provider. For some connection providers, this
     * will be a no-op. However, connection provider users should always call
     * this method to make sure the connection provider is started.
     */
    protected abstract void start();

    /**
     * This method should be called whenever properties have been changed so
     * that the changes will take effect.
     */
    protected abstract void restart();

    /**
     * Tells the connection provider to destroy itself. For many connection
     * providers, this will essentially result in a no-op. However,
     * connection provider users should always call this method when changing
     * from one connection provider to another to ensure that there are no
     * dangling database connections.
     */
    protected abstract void destroy();

    /**
     * Returns the value of a property of the connection provider.
     *
     * @param name the name of the property.
     * @return the value of the property.
     */
    public abstract String getProperty(String name);

    /**
     * Returns the description of a property of the connection provider.
     *
     * @param name the name of the property.
     * @return the description of the property.
     */
    public abstract String getPropertyDescription(String name);

    /**
     * Returns an enumeration of the property names for the connection provider.
     *
     * @return an Enumeration of the property names.
     */
    public abstract Enumeration propertyNames();

    /**
     * Sets a property of the connection provider. Each provider has a set number
     * of properties that are determined by the author. Trying to set a non-
     * existant property will result in an IllegalArgumentException.
     *
     * @param name the name of the property to set.
     * @param value the new value for the property.
     */
    public abstract void setProperty(String name, String value);

}

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲欧美综合另类在线卡通| 欧美视频在线不卡| 欧美无砖砖区免费| 国产午夜精品美女毛片视频| 91美女在线看| 亚洲精品写真福利| 激情欧美一区二区| 久久综合九色综合97_久久久| voyeur盗摄精品| 久久www免费人成看片高清| 亚洲精品视频一区| 国产亚洲制服色| 日韩欧美国产一区在线观看| 欧美少妇性性性| 91日韩一区二区三区| 国产成人一区二区精品非洲| 免费观看91视频大全| 一区二区三区欧美亚洲| 国产欧美日韩在线视频| 日韩一区二区三区免费看| 欧美网站大全在线观看| 欧美四级电影在线观看| 欧美三级视频在线播放| 美女视频免费一区| 久久天天做天天爱综合色| 国产91对白在线观看九色| 国产亚洲精品久| 日本丰满少妇一区二区三区| 国产一本一道久久香蕉| 日韩欧美高清一区| 成人激情视频网站| 国产一区二区三区av电影 | 在线亚洲免费视频| 99久久伊人网影院| 成人网男人的天堂| 国产suv精品一区二区三区| 国产在线精品一区在线观看麻豆| 免费在线看一区| 久久国产尿小便嘘嘘尿| 久久成人久久鬼色| 国产米奇在线777精品观看| 国产在线精品国自产拍免费| 国产精品一级片| 国产高清视频一区| 高清国产一区二区三区| 成人激情校园春色| 91亚洲精品久久久蜜桃| 欧美专区日韩专区| 欧美日韩三级在线| 91精品在线免费| 日韩一区二区三区视频在线观看| 欧美成人精品福利| 久久久三级国产网站| 国产精品久久久久久久久动漫| 中文字幕在线免费不卡| 一区二区三区欧美视频| 日本亚洲电影天堂| 国产在线精品一区二区夜色| 成人av在线资源网| 91国产免费看| 日韩一区二区视频| 亚洲国产精品激情在线观看| 亚洲精品成人精品456| 日韩精品一级二级| 国产成人免费在线视频| 一本色道久久综合亚洲aⅴ蜜桃 | 欧美tickling挠脚心丨vk| 久久看人人爽人人| 最新不卡av在线| 肉丝袜脚交视频一区二区| 激情五月激情综合网| 成熟亚洲日本毛茸茸凸凹| 在线观看日韩av先锋影音电影院| 在线成人免费视频| 国产亚洲欧洲997久久综合 | 一区二区视频在线看| 日本视频在线一区| 国产福利不卡视频| 欧美日韩国产小视频| 国产午夜精品一区二区三区视频 | 中文字幕欧美日韩一区| 亚洲成人激情社区| 粉嫩av一区二区三区| 欧美色区777第一页| 久久久久久夜精品精品免费| 亚洲欧美区自拍先锋| 精品一区二区日韩| 欧美色涩在线第一页| 国产农村妇女毛片精品久久麻豆| 日本成人在线不卡视频| 日韩欧美三级在线| 国产精品久久久久永久免费观看| 石原莉奈在线亚洲二区| 99re6这里只有精品视频在线观看| 欧美一级黄色大片| 亚洲男人的天堂在线aⅴ视频| 韩国一区二区视频| 欧美日韩在线播放| 波多野结衣亚洲| 国内外成人在线视频| 美女精品一区二区| 一本到一区二区三区| 久久亚洲私人国产精品va媚药| 一区二区三区精品在线观看| 国产盗摄一区二区| 日韩免费看的电影| 亚洲国产视频直播| thepron国产精品| 亚洲精品一区在线观看| 午夜亚洲福利老司机| 色综合天天综合狠狠| 国产丝袜欧美中文另类| 美女精品自拍一二三四| 欧美性三三影院| 日韩毛片视频在线看| 成人av影院在线| 久久久久免费观看| 狠狠色狠狠色综合日日91app| 欧美视频一区二区三区四区| 亚洲少妇屁股交4| 不卡一区中文字幕| 国产视频一区在线观看| 精品一区二区三区免费观看| 日韩美女在线视频| 免费高清不卡av| 日韩美女天天操| 美女视频网站黄色亚洲| 制服视频三区第一页精品| 亚洲电影一区二区三区| 欧美午夜在线观看| 亚洲免费色视频| 色婷婷综合久久| 玉足女爽爽91| 欧美亚洲动漫精品| 亚洲午夜免费福利视频| 欧美裸体bbwbbwbbw| 日韩综合小视频| 正在播放亚洲一区| 蜜臀av一区二区三区| 日韩精品在线网站| 国内精品久久久久影院薰衣草| 久久综合色播五月| 国产精品系列在线播放| 欧美国产日韩在线观看| 在线一区二区视频| 色婷婷亚洲精品| 亚洲美女少妇撒尿| 在线观看不卡一区| 亚洲精品视频观看| 欧美视频中文一区二区三区在线观看| 亚洲综合男人的天堂| 这里只有精品免费| 国产在线不卡一区| 中文子幕无线码一区tr| 91猫先生在线| 亚洲福利一区二区| 日韩欧美卡一卡二| 丰满亚洲少妇av| 亚洲欧美一区二区三区极速播放| 美腿丝袜在线亚洲一区| 91麻豆高清视频| 亚洲电影中文字幕在线观看| 欧美精品久久一区二区三区| 精品一区二区三区免费毛片爱| 久久久不卡网国产精品二区 | 色综合婷婷久久| 午夜精品福利久久久| 精品99一区二区| 92精品国产成人观看免费| 日韩成人免费在线| 久久久久久9999| 欧美中文字幕一区| 韩国精品一区二区| 亚洲女人****多毛耸耸8| 日韩一区二区免费高清| 成人午夜电影网站| 午夜av电影一区| 国产调教视频一区| 欧美私人免费视频| 国产不卡在线视频| 亚洲大片免费看| 国产视频一区在线播放| 欧美午夜精品电影| 国产电影一区二区三区| 图片区小说区国产精品视频| 国产精品毛片大码女人| 这里只有精品99re| 91在线一区二区三区| 看片网站欧美日韩| 一区二区欧美国产| 久久精品人人做| 欧美精品少妇一区二区三区| www.亚洲免费av| 精品一区二区三区不卡 | 丰满放荡岳乱妇91ww| 日本不卡免费在线视频| 自拍偷自拍亚洲精品播放| 亚洲精品在线电影| 91精品蜜臀在线一区尤物| 91亚洲国产成人精品一区二三|