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

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

?? bundlecache.java

?? OSGI 的 源碼實現(xiàn),采用JAVA書寫
?? JAVA
字號:
/* * Oscar - An implementation of the OSGi framework. * Copyright (c) 2004, Richard S. Hall * All rights reserved. *   * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: *   *   * Redistributions of source code must retain the above copyright *     notice, this list of conditions and the following disclaimer. *   * 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. *   * Neither the name of the ungoverned.org nor the names of its *     contributors may be used to endorse or promote products derived *     from this software without specific prior written permission. *   * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS 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 THE COPYRIGHT * OWNER OR 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. *  * Contact: Richard S. Hall (heavy@ungoverned.org) * Contributor(s): ***/package org.ungoverned.oscar;import java.io.InputStream;/** * <p> * This interface represents the storage mechanism that Oscar uses for * caching bundles. It is possible for multiple implementations of * this interface to exist for different storage technologies, such as the * file system, memory, or a database. Oscar includes a default implementation * of this interface that uses the file system. Oscar allows you to specify * alternative implementations to use by specifying a class name via the * <tt>oscar.cache.class</tt> system property. Bundle cache implemenations * should implement this interface and provide a default constructor. * </p> * @see org.ungoverned.oscar.BundleArchive**/public interface BundleCache{    /**     * <p>     * This method is called before using the BundleCache implementation     * to initialize it and to pass it a reference to its associated     * Oscar instance. The main purpose for passing the <tt>BundleCache</tt>     * implementation a reference to its Oscar instance is to allow it     * to use <tt>Oscar.getConfigProperty()</tt> to access system property values;     * the <tt>BundleCache</tt> implementation should not use     * <tt>System.getProperty()</tt> directly. <tt>Oscar.getConfigProperty()</tt>     * provides access to properties passed into the Oscar instance's     * constructor. If no properties were passed in to the constructor     * then it searches <tt>System.getProperty()</tt>. This approach allows     * multiple instances of Oscar to exist in memory at the same time, but for     * them to be configured differently. For example, an application may     * want two instances of Oscar, where each instance stores their cache     * in a different location in the file system. When using multiple     * instances of Oscar in memory at the same time, system properties     * should be avoided and all properties should be passed in to Oscar's     * constructor.     * </p>     * @param oscar the Oscar instance associated with the bundle cache.     * @throws Exception if any error occurs.    **/    public void initialize(Oscar oscar)        throws Exception;    /**     * <p>     * Returns all cached bundle archives.     * </p>     * @return an array of all cached bundle archives.     * @throws Exception if any error occurs.    **/    public BundleArchive[] getArchives()        throws Exception;    /**     * <p>     * Returns the bundle archive associated with the specified     * bundle indentifier.     * </p>     * @param id the identifier of the bundle archive to retrieve.     * @return the bundle archive assocaited with the specified bundle identifier.     * @throws Exception if any error occurs.    **/    public BundleArchive getArchive(long id)        throws Exception;    /**     * <p>     * Creates a new bundle archive for the specified bundle     * identifier using the supplied location string and input stream. The     * contents of the bundle JAR file should be read from the supplied     * input stream, which will not be <tt>null</tt>. The input stream is     * closed by the caller; the implementation is only responsible for     * closing streams it opens. If this method completes successfully, then     * it means that the initial bundle revision of the specified bundle was     * successfully cached.     * </p>     * @param id the identifier of the bundle associated with the new archive.     * @param location the location of the bundle associated with the new archive.     * @param is the input stream to the bundle's JAR file.     * @return the created bundle archive.     * @throws Exception if any error occurs.    **/    public BundleArchive create(long id, String location, InputStream is)        throws Exception;    /**     * <p>     * Saves an updated revision of the specified bundle to     * the bundle cache using the supplied input stream. The contents of the     * updated bundle JAR file should be read from the supplied input stream,     * which will not be <tt>null</tt>. The input stream is closed by the     * caller; the implementation is only responsible for closing streams     * it opens. Updating a bundle in the cache does not replace the current     * revision of the bundle, it makes a new revision available. If this     * method completes successfully, then it means that the number of     * revisions of the specified bundle has increased by one.     * </p>     * @param ba the bundle archive of the bundle to update.     * @param is the input stream to the bundle's updated JAR file.     * @throws Exception if any error occurs.    **/    public void update(BundleArchive ba, InputStream is)        throws Exception;    /**     * <p>     * Purges all old revisions of the specified bundle from     * the cache. If this method completes successfully, then it means that     * only the most current revision of the bundle should exist in the cache.     * </p>     * @param ba the bundle archive of the bundle to purge.     * @throws Exception if any error occurs.    **/    public void purge(BundleArchive ba)        throws Exception;    /**     * <p>     * Removes the specified bundle from the cache. If this method     * completes successfully, there should be no trace of the removed bundle     * in the cache.     * </p>     * @param ba the bundle archive of the bundle to remove.     * @throws Exception if any error occurs.    **/    public void remove(BundleArchive ba)        throws Exception;}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲福利一二三区| 国产成人亚洲综合a∨婷婷| 免费av成人在线| 国产成人自拍网| 欧美日韩在线不卡| 国产精品久久久一区麻豆最新章节| 亚洲午夜电影在线| 97成人超碰视| 久久久影视传媒| 蜜桃在线一区二区三区| 欧洲亚洲精品在线| 国产精品视频免费| 国产一区二区精品久久| 在线成人免费视频| 一级女性全黄久久生活片免费| 国产精品一区二区三区网站| 日韩一级视频免费观看在线| 夜夜揉揉日日人人青青一国产精品| 国产精品自产自拍| 久久夜色精品一区| 狠狠色丁香久久婷婷综| 精品美女一区二区| 日韩av电影免费观看高清完整版在线观看| 99国产精品久久久久久久久久| 国产女主播在线一区二区| 激情久久五月天| 色综合久久99| 18欧美乱大交hd1984| 成人午夜激情影院| 国产精品人人做人人爽人人添 | 欧美日韩视频专区在线播放| 亚洲视频一区二区在线| 国产成人小视频| 欧美激情在线看| 成人网男人的天堂| 中文字幕免费不卡在线| 97久久精品人人做人人爽50路| 国产精品视频观看| 91精彩视频在线观看| 亚洲国产cao| 91精品视频网| 蜜桃av噜噜一区| 久久精品视频在线免费观看| 国产精品一二二区| 综合在线观看色| 欧美性生活大片视频| 亚洲成人av一区二区三区| 欧美精品一二三区| 韩国成人精品a∨在线观看| 中文字幕乱码久久午夜不卡| 成人精品在线视频观看| 亚洲女子a中天字幕| 欧美羞羞免费网站| 免费三级欧美电影| 国产日产亚洲精品系列| 91免费观看国产| 日韩成人一区二区| 国产精品毛片久久久久久久| 日本精品视频一区二区三区| 天天综合网天天综合色| 国产婷婷色一区二区三区| 97超碰欧美中文字幕| 午夜精品成人在线| 国产性做久久久久久| 91麻豆精东视频| 毛片av中文字幕一区二区| 国产精品久久综合| 91精品国产91久久久久久一区二区| 国产一区二区久久| 亚洲最快最全在线视频| 欧美成人三级电影在线| av不卡免费在线观看| 免费成人av在线| 一区二区三区在线高清| 日韩精品一区二| 在线观看视频一区二区 | 亚洲中国最大av网站| 日韩免费在线观看| 色悠久久久久综合欧美99| 麻豆91在线观看| 亚洲第一主播视频| 国产精品女主播av| 91精品国产综合久久久蜜臀粉嫩 | 91在线小视频| 国产综合一区二区| 亚洲国产aⅴ成人精品无吗| 欧美国产一区二区在线观看| 日韩一区二区麻豆国产| 日本韩国欧美一区二区三区| 国产成+人+日韩+欧美+亚洲| 免费在线成人网| 亚洲成人免费视频| 一区二区国产视频| 亚洲免费毛片网站| 中文字幕在线一区二区三区| 精品国产乱码久久久久久影片| 欧美日韩中字一区| 91免费观看视频| 北条麻妃国产九九精品视频| 黄色资源网久久资源365| 日韩高清在线不卡| 亚洲一卡二卡三卡四卡无卡久久| 国产精品久久久久久久午夜片| 精品久久久久久久一区二区蜜臀| 884aa四虎影成人精品一区| 欧美午夜理伦三级在线观看| 一本大道综合伊人精品热热| av网站免费线看精品| 高清久久久久久| 丁香婷婷综合色啪| 99久久精品一区| 国产成人在线看| 精彩视频一区二区三区| 精品一区二区三区视频在线观看| 午夜精品久久一牛影视| 婷婷亚洲久悠悠色悠在线播放| 一区二区三区自拍| 亚洲成人在线网站| 五月婷婷综合网| 日韩电影在线一区二区三区| 日本中文字幕一区| 久久成人免费网站| 国产在线麻豆精品观看| 福利电影一区二区| 波多野结衣中文字幕一区二区三区 | 成人国产免费视频| 色综合天天综合狠狠| 亚洲美女免费在线| 亚洲欧美视频在线观看| 一区二区三区小说| 一级特黄大欧美久久久| 五月婷婷激情综合| 国模大尺度一区二区三区| 风间由美性色一区二区三区| 色综合天天综合狠狠| 777久久久精品| 欧美精品一区二区三| 欧美国产精品v| 亚洲综合无码一区二区| 日本成人中文字幕在线视频| 精品一区二区三区久久| 成人一区在线观看| 欧美综合天天夜夜久久| 欧美一区二区国产| 国产精品电影院| 日韩有码一区二区三区| 国产黑丝在线一区二区三区| 色一情一乱一乱一91av| 91精品国产入口| 国产精品麻豆一区二区| 肉色丝袜一区二区| 国产成人精品综合在线观看 | 国产精品美女久久久久久2018| 一区二区不卡在线播放| 寂寞少妇一区二区三区| 91国在线观看| 久久先锋影音av| 亚洲蜜臀av乱码久久精品蜜桃| 午夜激情久久久| 99精品欧美一区二区三区小说 | 亚洲综合成人网| 国产精品羞羞答答xxdd| 欧美在线一区二区三区| 日本一区免费视频| 日韩国产欧美三级| 成人av电影在线播放| 日韩精品一区在线观看| 一级中文字幕一区二区| 国产mv日韩mv欧美| 日韩欧美在线1卡| 一个色综合网站| 成人福利电影精品一区二区在线观看| 91精品麻豆日日躁夜夜躁| 亚洲免费资源在线播放| 粉嫩高潮美女一区二区三区| 久久综合av免费| 舔着乳尖日韩一区| 在线观看免费视频综合| 国产精品美女久久久久久2018| 激情文学综合网| 91精选在线观看| 亚洲综合精品自拍| 日本韩国一区二区三区| 中文字幕在线不卡一区| 国产精品自在在线| 2022国产精品视频| 久久国产生活片100| 欧美视频一区在线| 亚洲小少妇裸体bbw| 色欧美日韩亚洲| 亚洲欧美一区二区视频| 国产成人高清在线| 欧美国产日韩a欧美在线观看| 国产美女娇喘av呻吟久久| 欧美一卡二卡三卡| 免费精品99久久国产综合精品| 欧美精品日韩一本| 热久久国产精品| 欧美成人aa大片| 久久精品二区亚洲w码|