Hi,

Just check in SCR 2.1.16 and I can see:

Provide-Capability =

osgi.extender;uses:=org.osgi.service.component;osgi.extender=osgi.component;version:Version=1.4,

osgi.service;uses:=org.osgi.service.component.runtime;objectClass:List<String>=org.osgi.service.component.runtime.ServiceComponentRuntime


So it looks good to me.

About jetty, with 4.0.6, I also have:

Provide-Capability =

osgi.implementation;uses:="javax.servlet,javax.servlet.http,org.osgi.service.http.context,org.osgi.service.http.whiteboard";osgi.implementation=osgi.http;version:Version=1.1,

osgi.service;uses:="org.osgi.service.http.runtime,org.osgi.service.http.runtime.dto";objectClass:List<String>=org.osgi.service.http.runtime.HttpServiceRuntime

So the capabilities are there.

Regards
JB

On 09/06/2019 14:30, Clément Delgrange wrote:
> 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 Onofré a écrit :
> 
>> 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 
>>> osgi.service;objectClass:List<String>="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 issue with HttpService. Why felix SCR and felix http 
>>> jetty does not provide these capabilities with effective set to active?
>>>
>>> Thanks,
>>> Clément Delgrange.
>>>
>>
>> --
>> Jean-Baptiste Onofré
>> jbono...@apache.org
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
>> For additional commands, e-mail: users-h...@felix.apache.org

-- 
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
For additional commands, e-mail: users-h...@felix.apache.org

Reply via email to