felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Leangen <o...@leangen.net>
Subject Re: Provide-Capability in manifest
Date Fri, 14 Jul 2017 19:45:35 GMT

>> On Jul 13, 2017, at 6:23 PM, Mark Derricutt <mark@talios.com> wrote:

>> Which set of annotations are you using?

> On Jul 15, 2017, at 4:02 AM, David Jencks <david.a.jencks@gmail.com> wrote:

> I would be interested to know what the gradle magic is….

I am not a deep expert in bnd, but I did a quick investigation. I think that bnd looks for
@Component annotations, so actually is DS-based. So my earlier statement was misleading: it
looks like it has nothing to do with gradle after all.

I tried experimenting using the @Provide-Capability header. That could potentially work.

Note that this won’t work if you mix with DS components. Instead of adding classes to the
list of objectClass, it added a completely new “osgi.service;objectClass…” entry. 


View raw message