心有多大舞臺便有多大

          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 閱讀(3262) 評論(0)  編輯  收藏 所屬分類: Java

          主站蜘蛛池模板: 全南县| 渝中区| 县级市| 娱乐| 连南| 鄢陵县| 中西区| 富民县| 东乌珠穆沁旗| 沽源县| 芮城县| 华容县| 三门峡市| 凯里市| 花莲市| 天柱县| 会东县| 桃江县| 定陶县| 福清市| 温州市| 靖边县| 隆安县| 辽阳县| 布尔津县| 澜沧| 分宜县| 沙湾县| 建瓯市| 临沧市| 大安市| 田林县| 玛曲县| 莆田市| 巴南区| 阿坝| 彰化县| 安图县| 新干县| 江永县| 长宁县|