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

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

?? abstractadminconnection.java

?? 一個java方面的消息訂閱發(fā)送的源碼
?? JAVA
字號:
/**
 * Redistribution and use of this software and associated documentation
 * ("Software"), with or without modification, are permitted provided
 * that the following conditions are met:
 *
 * 1. Redistributions of source code must retain copyright
 *    statements and notices.  Redistributions must also contain a
 *    copy of this document.
 *
 * 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 name "Exolab" must not be used to endorse or promote
 *    products derived from this Software without prior written
 *    permission of Exoffice Technologies.  For written permission,
 *    please contact info@exolab.org.
 *
 * 4. Products derived from this Software may not be called "Exolab"
 *    nor may "Exolab" appear in their names without prior written
 *    permission of Exoffice Technologies. Exolab is a registered
 *    trademark of Exoffice Technologies.
 *
 * 5. Due credit should be given to the Exolab Project
 *    (http://www.exolab.org/).
 *
 * THIS SOFTWARE IS PROVIDED BY EXOFFICE TECHNOLOGIES AND CONTRIBUTORS
 * ``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
 * EXOFFICE TECHNOLOGIES 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.
 *
 * Copyright 2000,2003 (C) Exoffice Technologies Inc. All Rights Reserved.
 *
 * $Id: AbstractAdminConnection.java,v 1.1 2004/11/26 01:51:14 tanderson Exp $
 */
package org.exolab.jms.tools.admin;

import java.util.Enumeration;


/**
 * The abstract class all AbstractAdminConnection objects must inherit from.
 * Currently there are only two object types. OfflineConnection, for objects
 * that directly connect to and use the persistency mechanism, and
 * OnlineConnection objects that connect to an OpenJMSServer for all
 * their requests.
 *
 * @version     $Revision: 1.1 $ $Date: 2004/11/26 01:51:14 $
 * @author      <a href="mailto:mourikis@exolab.org">Jim Mourikis</a>
 * @see         OfflineConnection
 * @see	        OnlineConnection
 */
public abstract class AbstractAdminConnection {

    protected static AbstractAdminConnection _instance = null;

    /**
     * Returns the one and only instance of the connection object.
     *
     * @return AdminConnection The one and only instance.
     */
    public static AbstractAdminConnection instance() {
        return _instance;
    }

    /**
     * Return the number of outstanding messages for a particular destination.
     *
     * @param       topic       name of the topic
     * @param       name        durable consumer name
     * @return      int         message count
     */
    public abstract int getDurableConsumerMessageCount(String topic,
                                                       String name);

    /**
     * Return the number of outstanding messages for a particular queue.
     *
     * @param       queue       the queue name
     * @return      int         message count
     */
    public abstract int getQueueMessageCount(String queue);

    /**
     * Add a durable consumer for the specified name the passed in name
     *
     * @param       topic           name of the destination
     * @param       name            name of the consumer
     * @return      boolean         true if successful
     */
    public abstract boolean addDurableConsumer(String topic, String name);

    /**
     * Remove the consumer with the specified name
     *
     * @param       name            name of the consumer
     * @return      boolean         true if successful
     */
    public abstract boolean removeDurableConsumer(String name);

    /**
     * Return the collection of durable consumer names for a particular
     * topic destination.
     *
     * @param       topic           the topic name
     * @return      Vector          collection of strings
     */
    public abstract Enumeration getDurableConsumers(String destination);

    /**
     * Check if the durable consumer exists.
     *
     * @param       name            name of the durable conusmer
     * @return      boolean         true if it exists and false otherwise
     */
    public abstract boolean durableConsumerExists(String name);

    /**
     * De-Activate an active persistent consumer.
     *
     * @param       name            name of the consumer
     * @return      boolean         true if successful
     */
    public abstract boolean unregisterConsumer(String name);

    /**
     * Check to see if the given consumer is currently connected to the
     * OpenJMSServer. This is only valid when in online mode.
     *
     * @param name The name of the onsumer.
     * @return boolean True if the consumer is connected.
     *
     */
    public abstract boolean isConnected(String name);

    /**
     * Return a list of all registered destinations.
     *
     * @return      Enumeration     collection of JmsDestination objects
     */
    public abstract Enumeration getAllDestinations();

    /**
     * Add a specific destination with the specified name
     *
     * @param       name        destination name
     * @param       queue       whether it is queue or a topic
     * @return      boolean     true if successful
     */
    public abstract boolean addDestination(String destination,
                                           boolean isQueue);

    /**
     * Destroy the specified destination and all associated messsages and
     * consumers. This is a very dangerous operation to execute while there
     * are clients online
     *
     * @param       destination     destination to destroy
     */
    public abstract boolean removeDestination(String name);

    /**
     * Terminate the JMS Server. If it is running as a standalone application
     * then exit the application. It is running as an embedded application then
     * just terminate the thread
     */
    public abstract void stopServer();

    /**
     * Purge all processed messages from the database.
     *
     * @return      int         the number of messages purged.
     */
    public abstract int purgeMessages();

    /**
     * Close the connection.
     */
    public abstract void close();

    /**
     * Adds a new User to the DB.
     *
     * @param username    the users name
     * @param password    the users password
     * @return <code>true</code> if the user is added
     * otherwise <code>false</code>
     */
    public abstract boolean addUser(String username, String password);

    /**
     * Change the password for this user
     *
     * @param username    the users name
     * @param password    the users password
     * @return <code>true</code> if the password is changed
     * otherwise <code>false</code>
     */
    public abstract boolean changePassword(String username, String password);

    /**
     * Remove a user from the DB.
     *
     * @param username    the users name
     * @return <code>true</code> if the user is removed
     * otherwise <code>false</code>
     */
    public abstract boolean removeUser(String username);

    /**
     * List all users in the DB
     *
     * @return Enumeration of users
     */
    public abstract Enumeration getAllUsers();
}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产午夜三级一区二区三| 夜夜嗨av一区二区三区四季av| 国产三级久久久| 亚洲午夜视频在线| 国产经典欧美精品| 欧美猛男男办公室激情| 国产精品网站在线播放| 人妖欧美一区二区| 97久久精品人人做人人爽50路| 日韩三级高清在线| 亚洲电影中文字幕在线观看| 大胆亚洲人体视频| 精品少妇一区二区三区视频免付费 | 狠狠色综合色综合网络| 欧美中文字幕一区二区三区亚洲| 久久久久久久久久美女| 免费观看在线色综合| 欧美午夜免费电影| 亚洲精品成人在线| 91在线视频在线| 国产精品久久久久久久久动漫 | 国产精品国产a| 国产一区二区三区精品欧美日韩一区二区三区 | 亚洲国产成人高清精品| 成人国产视频在线观看| 久久综合九色综合97_久久久| 午夜精品久久久久久久久久久| 99久久免费视频.com| 久久久99精品久久| 国产精品一区二区x88av| 欧美成人精品3d动漫h| 日韩**一区毛片| 日韩欧美亚洲一区二区| 美美哒免费高清在线观看视频一区二区 | 国产日韩综合av| 国产成人在线网站| 日本一区二区三级电影在线观看| 国产精品夜夜嗨| 欧美国产精品劲爆| 成人午夜在线播放| 亚洲视频图片小说| 色成年激情久久综合| 玉米视频成人免费看| 欧美体内she精高潮| 日韩高清电影一区| 精品1区2区在线观看| 国产成人av电影免费在线观看| 欧美激情一区三区| 91亚洲精品久久久蜜桃网站 | 久久久国产午夜精品| 国产精品自拍在线| 亚洲视频1区2区| 欧美日韩中字一区| 精品亚洲成a人| 国产精品私人影院| 欧美日韩色综合| 韩国三级中文字幕hd久久精品| 国产日产欧美一区| 91香蕉国产在线观看软件| 亚洲成av人片| 日韩午夜av电影| 成人网男人的天堂| 亚欧色一区w666天堂| 精品91自产拍在线观看一区| 成人av网站免费观看| 午夜精品在线看| 国产视频亚洲色图| 欧美专区亚洲专区| 国产一区二区导航在线播放| 亚洲色图欧美在线| 精品福利av导航| 91高清视频在线| 美国av一区二区| 最新热久久免费视频| 日韩欧美国产1| 色综合久久中文综合久久97| 青青草原综合久久大伊人精品优势 | 免费成人av在线播放| 中文字幕一区二| 欧美成va人片在线观看| 色综合久久久网| 国产一区二区三区精品欧美日韩一区二区三区| 国产精品国产三级国产aⅴ原创| 91精品国产综合久久精品麻豆| 成人免费视频播放| 九色综合国产一区二区三区| 亚洲综合激情小说| 国产精品欧美一级免费| 日韩欧美不卡一区| 欧美视频在线观看一区二区| 丰满岳乱妇一区二区三区| 日本午夜一本久久久综合| 亚洲素人一区二区| 国产拍欧美日韩视频二区| 91精品国产综合久久婷婷香蕉| 色综合久久中文综合久久牛| 丰满放荡岳乱妇91ww| 蜜臀av在线播放一区二区三区| 亚洲美女屁股眼交3| 中文字幕第一区二区| 久久夜色精品一区| 日韩欧美国产三级电影视频| 欧美日韩国产美| 欧美自拍丝袜亚洲| 91老司机福利 在线| 成人不卡免费av| 风间由美一区二区av101| 国产精品99久久久久久有的能看| 蜜臀av性久久久久蜜臀aⅴ流畅| 亚洲综合视频网| 一区二区三区蜜桃| 亚洲男同1069视频| 亚洲欧美另类图片小说| 中文字幕av一区二区三区高| 国产丝袜美腿一区二区三区| 久久婷婷久久一区二区三区| 精品国产3级a| 国产亚洲精品aa午夜观看| 精品国产一区二区三区不卡| 欧美成人性福生活免费看| 日韩精品在线看片z| 日韩一二在线观看| 欧美电影免费观看高清完整版在 | 精品福利一二区| 国产亚洲一区字幕| 久久综合给合久久狠狠狠97色69| www一区二区| 国产精品毛片无遮挡高清| 国产精品久久久久久久久动漫| 亚洲欧美电影一区二区| 亚洲主播在线播放| 日本不卡一区二区| 国产麻豆欧美日韩一区| 成人午夜视频免费看| 色噜噜狠狠成人网p站| 欧美日韩电影一区| 日韩欧美国产一区二区三区| 久久精品亚洲精品国产欧美kt∨| 中文字幕成人av| 一区二区三区在线播放| 三级亚洲高清视频| 国产在线精品一区二区| av成人免费在线| 欧美日韩另类一区| 亚洲精品一区二区三区香蕉| 国产精品久久久久影视| 午夜久久久久久电影| 国产一区二区三区免费观看| 色老综合老女人久久久| 7777精品伊人久久久大香线蕉最新版 | 国产一区中文字幕| 色综合天天综合网天天看片| 欧美一区日本一区韩国一区| 国产欧美综合在线观看第十页| 亚洲精品乱码久久久久久| 久久成人av少妇免费| 99九九99九九九视频精品| 日韩欧美国产wwwww| 亚洲欧美成aⅴ人在线观看| 日韩在线一区二区三区| 成人亚洲精品久久久久软件| 欧美高清视频一二三区| 国产精品二三区| 精品一区二区三区在线播放| 91久久精品国产91性色tv| 欧美一区二区久久| 亚洲精品免费在线观看| 国产久卡久卡久卡久卡视频精品| 欧美影院一区二区三区| 国产精品久久久久久久久免费相片| 性欧美疯狂xxxxbbbb| 岛国精品在线播放| 欧美成人高清电影在线| 亚洲一卡二卡三卡四卡五卡| 成人午夜激情视频| 精品国产一区二区三区久久影院 | 中文字幕佐山爱一区二区免费| 日本女优在线视频一区二区| 91老师国产黑色丝袜在线| 国产丝袜在线精品| 国产在线乱码一区二区三区| 精品1区2区3区| 亚洲卡通动漫在线| 99国产精品视频免费观看| 国产肉丝袜一区二区| 国模大尺度一区二区三区| 91精品国产色综合久久ai换脸| 一区2区3区在线看| 一本到一区二区三区| 国产精品网友自拍| 国产成人综合在线观看| 亚洲精品一区二区三区香蕉| 麻豆久久久久久久| 日韩欧美国产成人一区二区| 日韩黄色在线观看| 在线观看91av| 欧美aaa在线| 日韩欧美激情在线| 久久不见久久见免费视频1| 91精品福利在线一区二区三区|