心有多大舞臺(tái)便有多大

          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狀態(tài)的命令:

           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

          其它的命令一般不怎么用到,就不貼出來了.
          一般啟動(dòng)好osgi后,我們會(huì)用ss命令來看看當(dāng)前bundles的啟動(dòng)狀態(tài)
          用install命令把開發(fā)好的bundle部署到osgi中
          用update命令更新已經(jīng)部署的bundle
          用uninstall命令停止一個(gè)bundle的服務(wù)

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

          主站蜘蛛池模板: 隆尧县| 泸定县| 鹿泉市| 尼勒克县| 什邡市| 山西省| 襄樊市| 桂阳县| 溧水县| 密山市| 翁牛特旗| 湟源县| 诸城市| 大安市| 永昌县| 乐陵市| 石柱| 桃源县| 白沙| 阜南县| 志丹县| 瓦房店市| 晴隆县| 肇东市| 博白县| 吴旗县| 昌吉市| 应用必备| 杭州市| 淮阳县| 绥宁县| 东明县| 沁阳市| 密山市| 密云县| 华阴市| 常宁市| 栾川县| 九龙城区| 拉萨市| 鄱阳县|