在开发osgi环境下运行的bundle时,我们可能会遇到忘记了自己在源码中到底引用了多少packages,从而不知道该将哪些package导出(export)——在osgi中,只有exported的package才能被其他bundle使用。
[caption id="attachment_3284" align="aligncenter" width="635"]
imported_packages[/caption] 选中某一个bundle工程,然后通过快捷键Alt+Enter(或者是右键菜单选择Properties),就可以看到上面的画面了。
本站插件下载地址:http://surenpi.com/plugins/