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 Message ‐‐‐‐‐‐‐
> On Sunday 9 June 2019 20:06, David Jencks <david.a.jen...@gmail.com> wrote:
> 
>> 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 ComponentFactory 
>> service for the bundle A. so you should look in the A manifest. I don’t know 
>> if this actually works, but it would be a bnd thing, not something felix has 
>> any control over.
>>
>> David Jencks
>>
>>> On Jun 9, 2019, at 10:58 AM, Clément Delgrange 
>>> cl.delgra...@protonmail.com.INVALID wrote:
>>> Thanks a lot, I should have checked the updated versions!
>>> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
>>> On Sunday 9 June 2019 14:46, Jean-Baptiste Onofré j...@nanthrax.net wrote:
>>>
>>>> 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
>>>
>>> To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
>>> For additional commands, e-mail: users-h...@felix.apache.org
> 
> 
> 
> ---------------------------------------------------------------------
> 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