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

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

?? bundlecontext.java

?? OSGI 的 源碼實現,采用JAVA書寫
?? JAVA
?? 第 1 頁 / 共 3 頁
字號:
	 *	 * <p>This method is otherwise identical to	 * {@link #registerService(java.lang.String[], java.lang.Object,	 * java.util.Dictionary)}and is provided as a convenience when <tt>service</tt> will only	 * be registered under a single class name. Note that even in this case the value of the service's	 * {@link Constants#OBJECTCLASS}property will be an array of strings, rather than just a single string.	 *	 * @see #registerService(java.lang.String[], java.lang.Object,	 * java.util.Dictionary)	 */    public abstract ServiceRegistration registerService(String clazz,                            Object service,                            Dictionary properties);    /**	 * Returns a list of <tt>ServiceReference</tt> objects. This method returns a list of	 * <tt>ServiceReference</tt> objects for services which implement and were registered under	 * the specified class and match the specified filter criteria.	 *	 * <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.	 *	 * <p><tt>filter</tt> is used to select the registered service whose	 * properties objects contain keys and values which satisfy the filter.	 * See {@link Filter}for a description of the filter string syntax.	 *	 * <p>If <tt>filter</tt> is <tt>null</tt>, all registered services	 * are considered to match the filter.	 * <p>If <tt>filter</tt> cannot be parsed, an {@link InvalidSyntaxException}will	 * be thrown with a human readable message where the filter became unparsable.	 *	 * <p>The following steps are required to select a service:	 * <ol>	 * <li>If the Java Runtime Environment supports permissions, the caller is checked for the	 * <tt>ServicePermission</tt> to get the service with the specified class.	 * If the caller does not have the correct permission, <tt>null</tt> is returned.	 * <li>If the filter string is not <tt>null</tt>, the filter string is	 * parsed and the set of registered services which satisfy the filter is	 * produced.	 * If the filter string is <tt>null</tt>, then all registered services	 * are considered to satisfy the filter.	 * <li>If <tt>clazz</tt> is not <tt>null</tt>, the set is further reduced to	 * those services which are an <tt>instanceof</tt> and were registered under the specified class.	 * The complete list of classes of which a service is an instance and which	 * were specified when the service was registered is available from the	 * service's {@link Constants#OBJECTCLASS}property.	 * <li>An array of <tt>ServiceReference</tt> to the selected services is returned.	 * </ol>	 *	 * @param clazz The class name with which the service was registered, or	 * <tt>null</tt> for all services.	 * @param filter The filter criteria.	 * @return An array of <tt>ServiceReference</tt> objects, or	 * <tt>null</tt> if no services are registered which satisfy the search.	 * @exception InvalidSyntaxException If <tt>filter</tt> contains	 * an invalid filter string which cannot be parsed.	 */    public abstract ServiceReference[] getServiceReferences(String clazz,                                String filter)    throws InvalidSyntaxException;    /**	 * Returns a <tt>ServiceReference</tt> object for a service that implements, and	 * was registered under, the specified class.	 *	 * <p>This <tt>ServiceReference</tt> object 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.	 *	 * <p> This method is the same as calling {@link #getServiceReferences}with a	 * <tt>null</tt> filter string.	 * It is provided as a convenience for when the caller is interested in any service that	 * implements the specified class. <p>If multiple such services exist, the service	 * with the highest ranking (as specified in its {@link Constants#SERVICE_RANKING}property) is	 * returned.	 * <p>If there is a tie in ranking, the service with the lowest	 * service ID (as specified in its {@link Constants#SERVICE_ID}property); that is,	 * the service that was registered first is returned.	 *	 * @param clazz The class name with which the service was registered.	 * @return A <tt>ServiceReference</tt> object, or <tt>null</tt>	 * if no services are registered which implement the named class.	 * @see #getServiceReferences	 */    public abstract ServiceReference getServiceReference(String clazz);    /**	 * Returns the specified service object for a service.	 * <p>A bundle's use of a service is tracked by the bundle's use	 * count of that service. Each time a service's service object is returned by	 * {@link #getService}the context bundle's use count for that service	 * is incremented by one. Each time the service is released by	 * {@link #ungetService}the context bundle's use count for that service is decremented by one.	 * <p>When a bundle's use count for a service drops to zero, the bundle should no longer use that service.	 * See {@link #getBundle}for a definition of context bundle.	 *	 * <p>This method will always return <tt>null</tt> when the	 * service associated with this <tt>reference</tt> has been unregistered.	 *	 * <p>The following steps are required to get the service object:	 * <ol>	 * <li>If the service has been unregistered, <tt>null</tt> is returned.	 * <li>The context bundle's use count for this service is incremented by one.	 * <li>If the context bundle's use count for the service is currently one and	 * the service was registered with an object implementing the <tt>ServiceFactory</tt> interface,	 * the {@link ServiceFactory#getService}method is called to create a service object	 * for the context bundle.	 * This service object is cached by the Framework.	 * While the context bundle's use count for the service is greater than	 * zero, subsequent calls to get the services's service object for the	 * context bundle will return the cached service object.	 * <br>If the service object returned by the <tt>ServiceFactory</tt> object	 * is not an <tt>instanceof</tt> all the classes named when the service was registered or	 * the <tt>ServiceFactory</tt> object throws an exception, <tt>null</tt> is returned and a	 * Framework event of type {@link FrameworkEvent#ERROR}is broadcast.	 * <li>The service object for the service is returned.	 * </ol>	 *	 * @param reference A reference to the service.	 * @return A service object for the service associated with <tt>reference</tt>,	 * or <tt>null</tt> if the service is not registered or does not implement the classes	 * under which it was registered in the case of a Service Factory.	 * @exception java.lang.SecurityException If the caller does not have	 * the <tt>ServicePermission</tt> to get the service using at least one of the named classes	 * the service was registered under, and the Java Runtime Environment supports permissions.	 * @exception java.lang.IllegalStateException If the context bundle has stopped.	 * @see #ungetService	 * @see ServiceFactory	 */    public abstract Object getService(ServiceReference reference);    /**	 * Releases the service object referenced by the specified <tt>ServiceReference</tt> object.	 * If the context bundle's use count for the service is zero, this method	 * returns <tt>false</tt>. Otherwise, the context bundle's use count	 * for the service is decremented by one.	 * See {@link #getBundle}for a definition of context bundle.	 *	 * <p>The service's service object should no longer be used and all references to it	 * should be destroyed when a bundle's use count for the service drops to zero.	 *	 * <p>The following steps are required to unget the service object:	 * <ol>	 * <li>If the context bundle's use count for the service is zero or	 * the service has been unregistered, <tt>false</tt> is returned.	 * <li>The context bundle's use count for this service is decremented by one.	 * <li>If the context bundle's use count for the service is currently zero and	 * the service was registered with a <tt>ServiceFactory</tt> object, the	 * {@link ServiceFactory#ungetService}method is called to release the service object	 * for the context bundle.	 * <li><tt>true</tt> is returned.	 * </ol>	 *	 * @param reference A reference to the service to be released.	 * @return <tt>false</tt> if the context bundle's use count for the	 * service is zero or if the service has been unregistered; <tt>true</tt> otherwise.	 * @exception java.lang.IllegalStateException If the context bundle has stopped.	 * @see #getService	 * @see ServiceFactory	 */    public abstract boolean ungetService(ServiceReference reference);    /**	 * Creates a <tt>File</tt> object for a file in the	 * persistent storage area provided for the bundle by the Framework.	 * This method will return <tt>null</tt> if the platform does not	 * have file system support.	 *	 * <p>A <tt>File</tt> object for the base directory of the	 * persistent storage area provided for the context bundle by the Framework	 * can be obtained by calling this method with an empty string (" ")	 * as <tt>filename</tt>.	 * See {@link #getBundle}for a definition of context bundle.	 *	 * <p>If the Java Runtime Environment supports permissions,	 * the Framework will ensure that the bundle has the <tt>java.io.FilePermission</tt> with actions	 * <tt>read</tt>, <tt>write</tt>, <tt>delete</tt> for all files (recursively) in the	 * persistent storage area provided for the context bundle.	 *	 * @param filename A relative name to the file to be accessed.	 * @return A <tt>File</tt> object that represents the requested file or	 * <tt>null</tt> if the platform does not have file system support.	 * @exception java.lang.IllegalStateException If the context bundle has stopped.	 */    public abstract File getDataFile(String filename);    /**	 * Creates a <tt>Filter</tt> object. This <tt>Filter</tt> object may be used	 * to match a <tt>ServiceReference</tt> object or a <tt>Dictionary</tt> object.	 * See {@link Filter}for a description of the filter string syntax.	 *	 * <p>If the filter cannot be parsed, an {@link InvalidSyntaxException}will be thrown	 * with a human readable message where the filter became unparsable.	 *	 * @param filter The filter string.	 * @return A <tt>Filter</tt> object encapsulating the filter string.	 * @exception InvalidSyntaxException If <tt>filter</tt> contains	 * an invalid filter string that cannot be parsed.	 * @exception NullPointerException If <tt>filter</tt> is null.	 *	 * @since 1.1	 */    public abstract Filter createFilter(String filter)    throws InvalidSyntaxException;}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日本高清不卡视频| 亚洲精品一二三四区| 美女网站色91| 在线综合+亚洲+欧美中文字幕| 蜜桃视频一区二区| 精品国产人成亚洲区| 国产成人综合在线播放| 中文字幕国产精品一区二区| 国产传媒一区在线| 国产精品国产自产拍在线| 丰满少妇久久久久久久| 久久蜜臀中文字幕| 成人sese在线| 亚洲综合另类小说| 日韩欧美亚洲一区二区| 国产成人综合视频| 亚洲一级二级在线| 亚洲精品一区二区三区蜜桃下载| 高清国产一区二区| 香港成人在线视频| 国产清纯白嫩初高生在线观看91| 91亚洲精品一区二区乱码| 午夜精品视频一区| 中文字幕精品三区| 欧美一区二区三区四区视频| 成人小视频免费观看| 免费成人深夜小野草| 国产精品的网站| 欧美va亚洲va| 欧美精品久久天天躁| 波多野结衣一区二区三区| 天天av天天翘天天综合网| 国产精品免费视频观看| 欧美精品日韩综合在线| 99久久99久久久精品齐齐| 国内精品免费**视频| 亚洲成人av一区二区三区| 亚洲人xxxx| 中文字幕制服丝袜成人av | 91福利社在线观看| www.成人网.com| 国产在线精品一区二区三区不卡| 亚洲成人综合视频| 午夜电影久久久| 午夜精品aaa| 午夜a成v人精品| 午夜精品视频一区| 视频一区二区不卡| 日韩二区三区四区| 麻豆精品新av中文字幕| 免费人成精品欧美精品| 久久不见久久见免费视频7| 久久精品久久精品| 精品一区免费av| 成人永久免费视频| 91网站在线播放| 在线播放国产精品二区一二区四区| 色狠狠桃花综合| 欧美老肥妇做.爰bbww视频| 91精品国产一区二区| 精品国产99国产精品| 国产精品久久久久久久久免费樱桃| 亚洲免费看黄网站| 免费人成在线不卡| 99久久99久久综合| 国产成人99久久亚洲综合精品| 91网上在线视频| 日韩欧美成人激情| 亚洲精品成人在线| 精品无人区卡一卡二卡三乱码免费卡 | 精品久久一区二区三区| 欧美激情中文字幕一区二区| 一区二区三区在线免费观看| 精品一区免费av| 欧美日韩精品一区视频| 欧美高清一级片在线观看| 五月激情综合婷婷| 91在线国产福利| 久久综合色之久久综合| 亚洲一区av在线| 九九国产精品视频| 欧美日韩国产色站一区二区三区| 精品第一国产综合精品aⅴ| 一区二区三区四区高清精品免费观看| 久久福利视频一区二区| 欧美日韩视频在线第一区| 国产精品福利影院| 国产乱对白刺激视频不卡| 欧美美女喷水视频| 亚洲小说欧美激情另类| 色天天综合久久久久综合片| 久久精品在线观看| 国产一区二区久久| 久久综合999| 国产乱人伦偷精品视频免下载| 日韩欧美中文字幕公布| 日韩av中文字幕一区二区| 91精品国产麻豆国产自产在线| 亚洲第一av色| 欧美日韩1234| 人人爽香蕉精品| 欧美不卡123| 高清成人在线观看| 亚洲色图欧洲色图婷婷| 91黄色免费版| 性做久久久久久| 日韩精品在线一区二区| 国产一本一道久久香蕉| 国产女人水真多18毛片18精品视频 | 国产一区二区三区免费| 中文字幕免费观看一区| 中文字幕中文字幕一区二区| 成人动漫精品一区二区| 亚洲国产精品麻豆| 久久久久九九视频| 日本韩国一区二区三区| 免费观看在线色综合| 亚洲国产岛国毛片在线| 欧美日韩亚洲综合| 国产精品1024| 亚洲国产欧美在线人成| 久久色.com| 91精品国产日韩91久久久久久| 成人综合在线网站| 裸体健美xxxx欧美裸体表演| 欧美韩日一区二区三区四区| 欧美日韩一区三区| 成人深夜福利app| 久久精品二区亚洲w码| 亚洲已满18点击进入久久| 欧美激情一区二区三区不卡| 五月天欧美精品| 欧美性淫爽ww久久久久无| 国产麻豆精品在线| 毛片一区二区三区| 亚洲国产成人porn| 亚洲一区二区三区国产| 综合自拍亚洲综合图不卡区| 久久精品夜色噜噜亚洲a∨| 欧美妇女性影城| 欧美日韩aaaaa| 欧美电影影音先锋| 91麻豆精品91久久久久久清纯| 色琪琪一区二区三区亚洲区| 欧美人狂配大交3d怪物一区| 欧美在线观看18| 欧美色成人综合| 欧美一激情一区二区三区| 欧美一区二区三区在线看| 欧美日本乱大交xxxxx| 欧美女孩性生活视频| 日韩亚洲欧美综合| 久久久一区二区三区捆绑**| 久久日韩粉嫩一区二区三区| 国产亚洲精品久| 亚洲日本中文字幕区| 亚洲午夜激情av| 日韩精品色哟哟| 国产一区美女在线| 91伊人久久大香线蕉| 欧美色成人综合| 久久久久久久久蜜桃| 一区二区三区精密机械公司| 婷婷久久综合九色综合伊人色| 久久精品99国产国产精| av一区二区三区四区| 欧美精品日韩精品| 亚洲女性喷水在线观看一区| 日韩精品亚洲专区| 91丨九色丨蝌蚪丨老版| 精品毛片乱码1区2区3区| 亚洲天堂a在线| 国内精品写真在线观看| 欧美性色综合网| 国产精品午夜春色av| 日韩欧美一级二级三级| 欧美一区二区福利在线| 亚洲成av人片在线| 欧美成人r级一区二区三区| 九一九一国产精品| 久久女同互慰一区二区三区| 亚洲制服丝袜一区| 欧美在线短视频| 亚洲精品视频在线看| 99精品欧美一区二区蜜桃免费| 精品国产乱码久久久久久影片| 亚洲第一二三四区| 678五月天丁香亚洲综合网| 亚洲国产中文字幕| 欧美人与禽zozo性伦| 亚洲va欧美va国产va天堂影院| 久久久亚洲午夜电影| 国产一二三精品| 国产偷国产偷亚洲高清人白洁 | 亚洲精品一区二区三区福利| 日韩福利电影在线观看| 亚洲精品一区二区三区香蕉| 成人激情小说乱人伦| 一区二区免费看| 精品国产乱码久久久久久老虎|