java bundle方法_java – bundle.getLocation()的可能前缀

这些是Equinox特定的URL前缀(尽管其他OSGi框架也支持引用:前缀).它们不是OSGi规范的一部分.从Eclipse运行时选项:

osgi.bundles

The comma-separated list of bundles which are automatically installed and optionally started once the system is up and running. Each entry is of the form:

[@ [] [":start"]]

The start-level indicates the OSGi start level at which the bundle should run. If the start-level (>0 integer) is omitted then the framework will use the default start level for the bundle. If the “start” tag is added then the bundle will be marked as started after being installed. Simple bundle locations are interepreted as relative to the framework’s parent directory. If the location is not a fully qualified path or URL then a search is done to find the highest version available. Note that the reference: protocol can only be used to refer to content specified by a file: URL (e.g. reference:file:/path/to/mybundle_1.0.0.jar). If the bundle is a directory bundle then using a file: URL without the use of reference: is not supported (e.g. file:/path/to/myDirectoryBundle_1.0.0/ must use reference:file:/path/to/myDirectoryBundle_1.0.0/)

here是描述“初始”和“参考”前缀的线程.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值