Re: Missing Capability for ComponentFactory service

2019-06-09 Thread Clément Delgrange
Hi JB, I am using SCR version 2.1.10 and jetty 4.0.6. I am not using Karaf, but I can use the augment directive of bnd to make it work. Does these missing Capabilities should be considered as bugs or are they wanted? Message d'origine On 9 juin 2019 à 13:59, Jean-Baptiste

Missing Capability for ComponentFactory service

2019-06-09 Thread Clément Delgrange
Hi, When I use ComponentFactory my bundle has a requirement for osgi.service;objectClass:List="org.osgi.service.component.ComponentFactory. However, felix SCR doesn't provide this capability in its manifest and the resolver fails if I try to resolve with effective=active. There is the same

Re: Missing Capability for ComponentFactory service

2019-06-09 Thread Jean-Baptiste Onofré
Hi Clément, If you are using Karaf, we provide the capability at feature level. What scr version are you using ? Regards JB On 09/06/2019 10:43, Clément Delgrange wrote: > Hi, > > When I use ComponentFactory my bundle has a requirement for >

Re: Missing Capability for ComponentFactory service

2019-06-09 Thread David Jencks
I don’t understand how your question and Jean-Baptiste’s answer relate to each other. ComponentFactory is not a service provided by the SCR bundle, so it certainly won’t be a capability of the SCR bundle. When you have a component factory DS component in a bunldle A, SCR registers a

Re: Missing Capability for ComponentFactory service

2019-06-09 Thread Clément Delgrange
Well, I misread Jean-Baptiste's answer. Thanks for the ComponentFactory, for the HttpService, the capability was added in 4.0.8. ‐‐‐ Original Message ‐‐‐ On Sunday 9 June 2019 20:06, David Jencks wrote: > I don’t understand how your question and Jean-Baptiste’s answer relate to >

Re: Missing Capability for ComponentFactory service

2019-06-09 Thread Jean-Baptiste Onofré
Oh, sorry, I was more on the HTTP one and misread the capability ;) Regards JB On 09/06/2019 20:28, Clément Delgrange wrote: > Well, I misread Jean-Baptiste's answer. Thanks for the ComponentFactory, for > the HttpService, the capability was added in 4.0.8. > > > > > ‐‐‐ Original