心有多大舞臺便有多大

          Embrace changes, pursue excellence, share niceness.

          equinox的osgi命令

          控制osgi framework的命令:
           launch - start the OSGi Framework

           shutdown - shutdown the OSGi Framework

           close - shutdown and exit

           exit - exit immediately (System.exit)

           init - uninstall all bundles

           setprop <key>=<value> - set the OSGi property

          控制bundle的命令:

           install - install and optionally start bundle from the given URL

           uninstall - uninstall the specified bundle(s)

           start - start the specified bundle(s)

           stop - stop the specified bundle(s)

           refresh - refresh the packages of the specified bundles

           update - update the specified bundle(s)

          顯示bundle狀態的命令:

           status [-s [<comma separated list of bundle states>]  [<segment of bsn>]] - display installed bundles and registered services

           ss [-s [<comma separated list of bundle states>]  [<segment of bsn>]] - display installed bundles (short status)

           services {filter} - display registered service details

           packages {<pkgname>|<id>|<location>} - display imported/exported package details

           bundles [-s [<comma separated list of bundle states>]  [<segment of bsn>]] - display details for all installed bundles

           bundle (<id>|<location>) - display details for the specified bundle(s)

           headers (<id>|<location>) - print bundle headers

           log (<id>|<location>) - display log entries

          其它的命令一般不怎么用到,就不貼出來了.
          一般啟動好osgi后,我們會用ss命令來看看當前bundles的啟動狀態
          用install命令把開發好的bundle部署到osgi中
          用update命令更新已經部署的bundle
          用uninstall命令停止一個bundle的服務

          posted on 2008-05-14 09:49 pony 閱讀(3258) 評論(0)  編輯  收藏 所屬分類: Java

          主站蜘蛛池模板: 鹤岗市| 综艺| 乌拉特后旗| 亳州市| 商南县| 犍为县| 阳曲县| 鄱阳县| 夏邑县| 吉林省| 法库县| 清苑县| 安龙县| 巢湖市| 襄垣县| 惠东县| 泽州县| 西峡县| 南城县| 晴隆县| 庄河市| 卫辉市| 安多县| 阜新市| 安阳县| 彝良县| 宜兰市| 永康市| 崇阳县| 若羌县| 青河县| 平谷区| 广西| 顺义区| 西盟| 镇安县| 汨罗市| 涟源市| 赣榆县| 文成县| 灯塔市|