What's new in OSGi 4.2?

前端 未结 4 1682
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-13 20:56

OSGi 4.2 has just been released which updates the 4.1 specification with a few new RFCs. So, what\'s particularly new with OSGi 4.2, which frameworks support 4.2 already (or are

4条回答
  •  走了就别回头了
    2021-02-13 21:16

    Do declarative services actually return null when a reference bind is not available? On Equinox, even if I set the mode to dynamic, my component is never instanciated if it can't be "wired". I'd rather prefer it to set to "null" as you say, so that I could have optional reference binds and use dynamic discovery...

    Also, I miss the possibility of finding the component properties easily when a service is bound (I have to go to the Bundle context, get service references, iterate and compare -- not practical). Maybe I'm missing something though.

提交回复
热议问题