Re: OSGi R6/DS 1.3 + Felix + Bnd: Interfaces in Component Lifecycle methods

2016-05-22 Thread David Jencks
Looking into this more, the reason I didn’t support List etc originally is that its much more complicated to deal with figuring out the type information than with an array. I’m not going to add this support directly, but will look into starting to use the object converter service when it seems

Re: OSGi R6/DS 1.3 + Felix + Bnd: Interfaces in Component Lifecycle methods

2016-05-22 Thread David Jencks
This extension has been used, I think, mostly by me, so the limitations are the things I’ve not happened to run up against. At the moment the only kinds of interfaces that DS supports are ones that look like annotations except for inheritance. So you can only have primitive, String, Class,

Re: OSGi R6/DS 1.3 + Felix + Bnd: Interfaces in Component Lifecycle methods

2016-05-22 Thread Steven Walters
On Sun, May 22, 2016 at 4:24 PM, David Jencks wrote: > It all does work, sorry I haven’t really documented it. I only use bndlib > from ant, but I use a slightly pre bnd 3.1 version so I’d guess it might all > work with recent maven-bundle-plugin. > > There are

Re: OSGi R6/DS 1.3 + Felix + Bnd: Interfaces in Component Lifecycle methods

2016-05-22 Thread David Jencks
It all does work, sorry I haven’t really documented it. I only use bndlib from ant, but I use a slightly pre bnd 3.1 version so I’d guess it might all work with recent maven-bundle-plugin. There are two things you can set: -dsannotations-options in the bnd.bnd file or equivalent: inherit has