简体   繁体   English

将数据传递到OSGI Bundles

[英]Passing data to OSGI Bundles

I don't know how far the discussion in this thread is still relevant, but I'm not able to read system properties from a Felix BundleActivator . 我不知道该主题中的讨论仍然有多远,但是我无法从Felix BundleActivator读取系统属性。

Is this working for anybody out there? 这对外面的人有用吗? Or can somebody help me figure out what is going on? 还是可以有人帮助我弄清楚发生了什么事?

尝试使用BundleContext.getProperty(String key)获取系统属性

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM