Apache Felix:什么是扩展包? [英] Apache Felix: What are extension bundles?

查看:132
本文介绍了Apache Felix:什么是扩展包?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Apache Felix 有扩展包"的概念.这似乎是一个对系统包有贡献的包.还有一个特殊的网址felix://extensions/"正在为他们注册.

Apache Felix has the concept of an "extension bundle". This seems to be a bundle that contributes to the system bundle. There is also a special URL "felix://extensions/" being registered for them.

我什么时候需要使用扩展而不是常规捆绑包?

When would I need to use extensions as opposed to regular bundles?

是否有使用这种方法的捆绑包示例?

Are there examples of bundles that use this approach?

这是 Felix 独有的特性还是 OSGi 规范的一部分?

Is this a Felix-only feature or part of the OSGi spec?

推荐答案

根据 felix 实现扩展包问题,扩展包在 OSGi R4 规范的 3.15 节中进行了描述 - 所以它是 OSGi 规范的一部分.该问题和 spec 都回答了您关于何时使用它们的问题.例如,我会检查谷歌.

according to the felix Implement extension bundles issue, extension bundles are described in section 3.15 of the OSGi R4 specification - so it is part of the OSGi spec. both that issue and the spec answers your question about when to use them. for examples, i would check google.

这篇关于Apache Felix:什么是扩展包?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆