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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? bundle.java

?? OSGI 的 源碼實現,采用JAVA書寫
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
	 * <p> The following steps are required to update a bundle:	 * <ol>	 * <li>If this bundle's state is <tt>UNINSTALLED</tt> then	 * an <tt>IllegalStateException</tt> is thrown.	 *	 * <li>If this bundle's state is <tt>ACTIVE</tt>, <tt>STARTING</tt> or <tt>STOPPING</tt>,	 * the bundle is stopped as described in the <tt>Bundle.stop</tt> method.	 * If <tt>Bundle.stop</tt> throws an exception, the exception is rethrown	 * terminating the update.	 *	 * <li>The download location of the new version of this bundle	 * is determined from either the bundle's {@link Constants#BUNDLE_UPDATELOCATION} Manifest	 * header (if available) or the bundle's original location.	 *	 * <li>The location is interpreted in an implementation dependent manner,	 * typically as a URL, and the new version of this bundle is obtained from	 * this location.	 *	 * <li>The new version of this bundle is installed. If the Framework is	 * unable to install the new version of this bundle, the original version	 * of this bundle will be restored and a <tt>BundleException</tt> will be thrown	 * after completion of the remaining steps.	 *	 * <li>If the bundle has declared an Bundle-RequiredExecutionEnvironment header, then	 * the listed execution environments must be verified against the installed	 * execution environments. If they do not all match, the original version	 * of this bundle will be restored and a <tt>BundleException</tt> will be thrown	 * after completion of the remaining steps.	 *	 * <li>This bundle's state is set to <tt>INSTALLED</tt>.	 *	 *	 * <li> If this bundle has not declared an <tt>Import-Package</tt> header	 * in its Manifest file (specifically, this bundle does not depend on any packages from	 * other bundles), this bundle's state may be set to <tt>RESOLVED</tt>.	 *	 * <li>If the new version of this bundle was successfully installed,	 * a bundle event of type {@link BundleEvent#UPDATED}is broadcast.	 *	 * <li>If this bundle's state was originally <tt>ACTIVE</tt>,	 * the updated bundle is started as described in the <tt>Bundle.start</tt> method.	 * If <tt>Bundle.start</tt> throws an exception, a Framework event of	 * type {@link FrameworkEvent#ERROR}is broadcast containing the exception.	 * </ol>	 *	 * <b>Preconditions</b>	 * <ul>	 * <li><tt>getState()</tt> not in {<tt>UNINSTALLED</tt>}.	 * </ul>	 * <b>Postconditions, no exceptions thrown</b>	 * <ul>	 * <li><tt>getState()</tt> in	 * {<tt>INSTALLED</tt>, <tt>RESOLVED</tt>, <tt>ACTIVE</tt>}.	 * <li>This bundle has been updated.	 * </ul>	 * <b>Postconditions, when an exception is thrown</b>	 * <ul>	 * <li><tt>getState()</tt> in {<tt>INSTALLED</tt>, <tt>RESOLVED</tt>, <tt>ACTIVE</tt>}.	 * <li>Original bundle is still used; no update occurred.	 * </ul>	 *	 * @exception BundleException If the update fails.	 * @exception java.lang.IllegalStateException If this	 * bundle has been uninstalled or this bundle tries to change its own state.	 * @exception java.lang.SecurityException If the caller does not have	 * the appropriate <tt>AdminPermission</tt>, and the Java Runtime Environment	 * supports permissions.	 * @see #stop()	 * @see #start()	 */    public abstract void update() throws BundleException;    /**	 * Updates this bundle from an <tt>InputStream</tt>.	 *	 * <p>This method performs all the steps listed in <tt>Bundle.update()</tt>, except the bundle	 * will be read from the supplied <tt>InputStream</tt>, rather than a <tt>URL</tt>.	 * <p>This method will always close the <tt>InputStream</tt>	 * when it is done, even if an exception is thrown.	 *	 * @param in The <tt>InputStream</tt> from which to read the new bundle.	 * @exception BundleException If the provided stream cannot be read or the update fails.	 * @exception java.lang.IllegalStateException If this	 * bundle has been uninstalled or this bundle tries to change its own state.	 * @exception java.lang.SecurityException If the caller does not have	 * the appropriate <tt>AdminPermission</tt>, and the Java Runtime Environment	 * supports permissions.	 * @see #update()	 */    public abstract void update(InputStream in) throws BundleException;    /**	 * Uninstalls this bundle.	 *	 * <p>This method causes the Framework to notify other bundles that this bundle	 * is being uninstalled, and then puts this bundle into the <tt>UNINSTALLED</tt>	 * state. The Framework will remove any resources related to this	 * bundle that it is able to remove.	 *	 * <p>If this bundle has exported any packages, the Framework will	 * continue to make these packages available to their importing bundles	 * until the <tt>PackageAdmin.refreshPackages</tt> method has been called	 * or the Framework is relaunched.	 *	 * <p>The following steps are required to uninstall a bundle:	 * <ol>	 * <li>If this bundle's state is <tt>UNINSTALLED</tt> then	 * an <tt>IllegalStateException</tt> is thrown.	 *	 * <li>If this bundle's state is <tt>ACTIVE</tt>, <tt>STARTING</tt> or <tt>STOPPING</tt>,	 * this bundle is stopped as described in the <tt>Bundle.stop</tt> method.	 * If <tt>Bundle.stop</tt> throws an exception, a Framework event of type	 * {@link FrameworkEvent#ERROR}is broadcast containing the exception.	 *	 * <li>This bundle's state is set to <tt>UNINSTALLED</tt>.	 *	 * <li>A bundle event of type {@link BundleEvent#UNINSTALLED}is broadcast.	 *	 * <li>This bundle and any persistent storage area provided for this bundle	 * by the Framework are removed.	 * </ol>	 *	 * <b>Preconditions</b>	 * <ul>	 * <li><tt>getState()</tt> not in {<tt>UNINSTALLED</tt>}.	 * </ul>	 * <b>Postconditions, no exceptions thrown</b>	 * <ul>	 * <li><tt>getState()</tt> in {<tt>UNINSTALLED</tt>}.	 * <li>This bundle has been uninstalled.	 * </ul>	 * <b>Postconditions, when an exception is thrown</b>	 * <ul>	 * <li><tt>getState()</tt> not in {<tt>UNINSTALLED</tt>}.	 * <li>This Bundle has not been uninstalled.	 * </ul>	 *	 * @exception BundleException If the uninstall failed.	 * This can occur if another thread is attempting to change the bundle's state	 * and does not complete in a timely manner.	 * @exception java.lang.IllegalStateException If this	 * bundle has been uninstalled or this bundle tries to change its own state.	 * @exception java.lang.SecurityException If the caller does not have	 * the appropriate <tt>AdminPermission</tt>, and the Java Runtime Environment	 * supports permissions.	 * @see #stop()	 */    public abstract void uninstall() throws BundleException;    /**	 * Returns this bundle's Manifest headers and values.	 * This method returns all the Manifest headers and values	 * from the main section of the bundle's Manifest file; that is, all lines prior	 * to the first blank line.	 *	 * <p>Manifest header names are case-insensitive. The methods of the returned	 * <tt>Dictionary</tt> object will operate on header names in a case-insensitive manner.	 *	 * <p>For example, the following Manifest headers and values are included	 * if they are present in the Manifest file:	 * <pre>	 * Bundle-Name	 * Bundle-Vendor	 * Bundle-Version	 * Bundle-Description	 * Bundle-DocURL	 * Bundle-ContactAddress	 * </pre>	 * <p>This method will continue to return Manifest header information	 * while this bundle is in the <tt>UNINSTALLED</tt> state.	 *	 * @return A <tt>Dictionary</tt> object containing this bundle's Manifest headers and values.	 *	 * @exception java.lang.SecurityException If the caller does not have	 * the <tt>AdminPermission</tt>, and the Java Runtime Environment supports permissions.	 */    public abstract Dictionary getHeaders();    /**	 * Returns this bundle's identifier. The bundle is assigned a unique identifier by the Framework	 * when it is installed in the OSGi environment.	 *	 * <p>A bundle's unique identifier has the following attributes:	 * <ul>	 * <li>Is unique and persistent.	 * <li>Is a <tt>long</tt>.	 * <li>Its value is not reused for another bundle, even after the bundle is uninstalled.	 * <li>Does not change while the bundle remains installed.	 * <li>Does not change when the bundle is updated.	 * </ul>	 *	 * <p>This method will continue to return this bundle's unique identifier	 * while this bundle is in the <tt>UNINSTALLED</tt> state.	 *	 * @return The unique identifier of this bundle.	 */    public abstract long getBundleId();    /**	 * Returns this bundle's location identifier.	 *	 * <p>The bundle location identifier is the location passed to	 * {@link BundleContext#installBundle}when a bundle is installed.	 *	 * <p>This method will continue to return this bundle's location	 * identifier while this bundle is in the <tt>UNINSTALLED</tt> state.	 *	 * @return The string representation of this bundle's location identifier.	 * @exception java.lang.SecurityException If the caller does not have	 * the appropriate <tt>AdminPermission</tt>, and the Java Runtime Environment	 * supports permissions.	 */    public abstract String getLocation();    /**	 * Returns this bundle's <tt>ServiceReference</tt> list for all	 * services it has registered or <tt>null</tt> if this bundle	 * has no registered services.	 *	 * <p>If the Java runtime supports permissions, a <tt>ServiceReference</tt> object to a	 * service is included in the returned list only if the	 * caller has the <tt>ServicePermission</tt> to get the service	 * using at least one of the named classes the service was registered under.	 *	 * <p>The list is valid at the time of the call to this method, however, as the Framework is a very dynamic	 * environment, services can be modified or unregistered at anytime.	 *	 * @return An array of <tt>ServiceReference</tt> objects or <tt>null</tt>.	 * @exception java.lang.IllegalStateException If this bundle has been uninstalled.	 * @see ServiceRegistration	 * @see ServiceReference	 * @see ServicePermission	 */    public abstract ServiceReference[] getRegisteredServices();    /**	 * Returns this bundle's <tt>ServiceReference</tt> list for all	 * services it is using or returns <tt>null</tt> if this bundle is not using any services.	 * A bundle is considered to be using a service if its use count for that service is greater than zero.	 *	 * <p>If the Java Runtime Environment supports permissions,	 * a <tt>ServiceReference</tt> object to a service is included in the returned list only if the	 * caller has the <tt>ServicePermission</tt> to get the service	 * using at least one of the named classes the service was registered under.	 * <p>The list is valid at the time of the call to this method, however, as the Framework is a very dynamic	 * environment, services can be modified or unregistered at anytime.	 *	 * @return An array of <tt>ServiceReference</tt> objects or <tt>null</tt>.	 * @exception java.lang.IllegalStateException If this bundle has been uninstalled.	 * @see ServiceReference	 * @see ServicePermission	 */    public abstract ServiceReference[] getServicesInUse();    /**	 * Determines if this bundle has the specified permissions.	 *	 * <p>If the Java Runtime Environment does not support permissions,	 * this method always returns <tt>true</tt>.	 * <p><tt>permission</tt> is of type <tt>Object</tt> to	 * avoid referencing the <tt>java.security.Permission</tt> class	 * directly. This is to allow the Framework to be implemented in Java	 * environments which do not support permissions.	 *	 * <p>If the Java Runtime Environment does support permissions, this	 * bundle and all its resources including nested JAR files, belong	 * to the same <tt>java.security.ProtectionDomain</tt>; that is, they will share	 * the same set of permissions.	 *	 * @param permission The permission to verify.	 *	 * @return <tt>true</tt> if this bundle has the specified permission or	 * the permissions possessed by this bundle imply the specified permission;	 * <tt>false</tt> if this bundle does not have the specified permission or <tt>permission</tt>	 * is not an <tt>instanceof</tt> <tt>java.security.Permission</tt>.	 *	 * @exception java.lang.IllegalStateException If this bundle has been uninstalled.	 */    public abstract boolean hasPermission(Object permission);    /**	 * Find the specified resource in this bundle.	 *	 * This bundle's class loader is called to search for the named resource.	 * If this bundle's state is <tt>INSTALLED</tt>, then only this bundle will	 * be searched for the specified resource. Imported packages cannot be searched	 * when a bundle has not been resolved.	 *	 * @param name The name of the resource.	 * See <tt>java.lang.ClassLoader.getResource</tt> for a description of	 * the format of a resource name.	 * @return a URL to the named resource, or <tt>null</tt> if the resource could	 * not be found or if the caller does not have	 * the <tt>AdminPermission</tt>, and the Java Runtime Environment supports permissions.	 *	 * @since 1.1	 * @exception java.lang.IllegalStateException If this bundle has been uninstalled.	 */    public abstract URL getResource(String name);}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产美女一区二区| 麻豆成人91精品二区三区| 亚洲视频免费看| 一级精品视频在线观看宜春院 | 青青青伊人色综合久久| 日本美女一区二区三区视频| 精品夜夜嗨av一区二区三区| 波多野结衣亚洲一区| 欧美日韩在线直播| 国产日韩欧美综合一区| 亚洲精品视频在线观看网站| 免费成人av在线播放| 91女人视频在线观看| 久久精品视频免费| 激情丁香综合五月| 欧美一级片在线看| 日本中文一区二区三区| 欧美日韩一卡二卡三卡| 亚洲精品第1页| 波多野结衣中文字幕一区 | 欧美主播一区二区三区| 中文字幕一区二区三区乱码在线| 麻豆成人综合网| 欧美日本视频在线| 亚洲不卡av一区二区三区| 一本到三区不卡视频| 国产精品三级久久久久三级| 国产美女精品人人做人人爽| 精品久久久久久久久久久久久久久久久| 亚洲精品ww久久久久久p站| av亚洲产国偷v产偷v自拍| 国产日产精品1区| 成人午夜私人影院| 日韩美女视频一区| 91免费观看在线| 亚洲另类在线视频| 色噜噜狠狠成人中文综合 | 亚洲bt欧美bt精品| 6080国产精品一区二区| 视频一区视频二区在线观看| 欧美日韩夫妻久久| 麻豆精品在线视频| 久久久亚洲欧洲日产国码αv| 美国十次综合导航| 欧美国产欧美综合| 91玉足脚交白嫩脚丫在线播放| 国产精品天天摸av网| 91在线观看地址| 亚洲一区在线观看免费观看电影高清 | 亚洲一区二区中文在线| 欧美日韩激情一区二区三区| 日本亚洲电影天堂| 久久综合中文字幕| 色婷婷精品大在线视频| 亚州成人在线电影| 精品成人私密视频| www.激情成人| 亚洲sss视频在线视频| 精品免费国产二区三区| 成人丝袜高跟foot| 午夜精品成人在线| 国产调教视频一区| 在线观看日韩高清av| 久久99热狠狠色一区二区| 中文字幕欧美三区| 91精品国产综合久久久蜜臀粉嫩| 国产综合久久久久久鬼色| 亚洲人成伊人成综合网小说| 欧美日韩你懂得| 高清成人免费视频| 日韩综合一区二区| 国产精品成人午夜| 精品av久久707| 91成人在线免费观看| 久久国产精品无码网站| 亚洲伦理在线免费看| 日韩欧美成人午夜| 欧美综合在线视频| 成人动漫视频在线| 久久精品二区亚洲w码| 综合电影一区二区三区| 精品国产伦一区二区三区观看体验| 99视频精品全部免费在线| 日本成人在线网站| 亚洲精品中文在线| 久久免费国产精品| 日韩视频在线永久播放| 色老头久久综合| 高清在线成人网| 国产一区二区日韩精品| 亚洲成av人**亚洲成av**| 亚洲品质自拍视频| 日本一区二区综合亚洲| 欧美本精品男人aⅴ天堂| 精品视频色一区| 91日韩一区二区三区| 成人免费视频网站在线观看| 极品少妇xxxx偷拍精品少妇| 日韩制服丝袜av| 亚洲一区二区三区四区五区中文| 久久久亚洲精品一区二区三区| 日韩一区二区在线看| 欧美日韩一二三区| 在线亚洲一区二区| 在线观看视频一区| 欧美天堂一区二区三区| 91免费看`日韩一区二区| av在线播放不卡| 成人avav影音| jizz一区二区| av网站一区二区三区| av网站免费线看精品| av在线一区二区| 91农村精品一区二区在线| 不卡视频在线观看| 北岛玲一区二区三区四区| 成人高清视频在线观看| 成人午夜激情在线| 成人av电影免费观看| 99久久精品国产导航| 97久久人人超碰| 色呦呦国产精品| 欧美日韩日日骚| 欧美videos中文字幕| 久久精品一区八戒影视| 国产欧美一区二区精品性色| 中文字幕电影一区| 亚洲美女免费视频| 天天色天天操综合| 紧缚捆绑精品一区二区| 国产91在线观看丝袜| 91丨porny丨中文| 欧美精品v日韩精品v韩国精品v| 欧美一区二视频| 久久老女人爱爱| 一区二区三区不卡在线观看| 亚洲一区二区美女| 奇米色777欧美一区二区| 国产福利一区二区三区视频 | 亚洲男人的天堂av| 丝袜诱惑亚洲看片| 国产精品自拍一区| 91麻豆自制传媒国产之光| 777午夜精品免费视频| 精品剧情v国产在线观看在线| 国产日韩亚洲欧美综合| 一区二区在线电影| 精品亚洲免费视频| 欧美综合色免费| 欧美精品一区二区三区很污很色的| 国产精品卡一卡二| 日本亚洲欧美天堂免费| 不卡在线视频中文字幕| 91精品免费在线| 欧美国产精品久久| 日韩国产欧美三级| av电影在线观看不卡| 日韩欧美在线123| 亚洲少妇最新在线视频| 久久精品国产一区二区| 一本大道久久a久久精二百| 日韩欧美国产小视频| 国产精品传媒入口麻豆| 久草在线在线精品观看| 一本大道综合伊人精品热热| 26uuu国产一区二区三区| 亚洲自拍与偷拍| 国产成人在线电影| 日韩亚洲欧美一区二区三区| 亚洲手机成人高清视频| 国产综合色精品一区二区三区| 欧美日韩激情在线| 亚洲欧美日韩国产一区二区三区 | 男人操女人的视频在线观看欧美 | 成人av电影在线网| 久久综合九色综合97婷婷| 亚洲h动漫在线| 91美女片黄在线观看91美女| 国产色综合一区| 久久精品国产在热久久| 在线播放国产精品二区一二区四区| 中文字幕亚洲电影| 高清成人在线观看| 国产欧美综合在线观看第十页 | 成人妖精视频yjsp地址| 久久精品日产第一区二区三区高清版 | 精一区二区三区| 在线播放国产精品二区一二区四区| 亚洲免费观看在线观看| av亚洲精华国产精华精| 国产精品视频一二三| 国产成人精品网址| 久久久高清一区二区三区| 久久精品国产亚洲高清剧情介绍| 777久久久精品| 免费高清在线一区| 日韩精品一区二区三区四区| 美洲天堂一区二卡三卡四卡视频| 欧美精选一区二区| 首页综合国产亚洲丝袜|