OSGI bundle 生命周期

OSGI bundle共有六个生命周期:

INSTALLED (安装期)

RESOLVED (解析期)

STARTING (启动期)

ACTIVE(活跃期)

STOPPING(停止期)

UNINSTALLED (卸载期)

 

关系图:

OSGI bundle 生命周期_第1张图片

OSGI命令:

命令

用途

使用方法

ss

展示已安装的bundle

[-s []  []] - display installed bundles (short status)

 

install

安装指定url对应的文件为bundle

install and optionally start bundle from the given URL

uninstall

卸载指定Id标识的bundle

uninstall the specified bundle(s)

start

启动指定Id标识的bundle

start the specified bundle(s)

stop

停止指定Id标识的bundle

stop the specified bundle(s)

update

同步bundle和bundle的加载文件

update the specified bundle(s)

你可能感兴趣的:(Eclipse插件开发)