心有多大舞臺便有多大

          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

          主站蜘蛛池模板: 南木林县| 蕲春县| 澄江县| 常州市| 晋江市| 蒙城县| 浪卡子县| 泗洪县| 宜良县| 新乐市| 梁山县| 施甸县| 千阳县| 通渭县| 拜城县| 新竹市| 杭锦旗| 禄劝| 漳州市| 连江县| 海兴县| 朝阳市| 屏边| 南城县| 馆陶县| 应城市| 公主岭市| 曲麻莱县| 师宗县| 乐亭县| 新余市| 仪陇县| 松江区| 文水县| 泰安市| 柳江县| 札达县| 乌鲁木齐县| 玉树县| 平山县| 通化县|