心有多大舞臺便有多大

          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

          主站蜘蛛池模板: 宽甸| 马鞍山市| 博爱县| 南宫市| 乃东县| 南昌县| 安宁市| 宝清县| 和田市| 万载县| 安顺市| 新宾| 翁牛特旗| 濮阳县| 慈溪市| 舒城县| 安义县| 肥西县| 基隆市| 庆阳市| 合川市| 屏南县| 耿马| 卢龙县| 瓮安县| 巢湖市| 容城县| 永州市| 葫芦岛市| 泾川县| 招远市| 开江县| 长海县| 麻江县| 司法| 镶黄旗| 沛县| 东辽县| 榆树市| 郑州市| 崇仁县|