Re: [osgi-dev] serviceloader

2019-12-17 Thread Raymond Auge via osgi-dev
You could also use bnd's `@ServiceProvider` and/or `@ServiceConsumer` annotations which handle all of this magic for you. The addition of the service capability was recently added so is not available until next release (5.0.0), but everything else is handled. Before 5.0.0 this is what I

Re: [osgi-dev] serviceloader

2019-12-17 Thread David Bosschaert via osgi-dev
Hi Markus, Sorry for the late reply. I think it makes sense in the bundle_provider to also have the capability Provide-Capability: osgi.service;objectClass:List="foo.bar.MySPI" Ideally this could be automatically generated by tooling, when it sees the Provide-Capability:

Re: [osgi-dev] serviceloader

2019-12-17 Thread Markus Rathgeb via osgi-dev
Hi guys, is this the wrong list for such question? Can you point me to a more suitable one? Best regards, Markus Am Fr., 18. Okt. 2019 um 10:55 Uhr schrieb Markus Rathgeb : > > Hello, > > I have question about the serviceloader specific manifest entries (WRT > to the example from >