Thanks, this tracker breaks the laziness of most of my whiteboard extenders 
(jaxrs, spring mvc @controller/@configuration, etc..). I didn't find 
however any mention on WebSocket in the future R7 spec, neither on the 
felix/equinox implementation. 

The only reference I found was in an implementation on Liferay, which use 
properties under "org.osgi.http.websocket.endpoint.*" (imho, not a good 
choice to use "org.osgi" prefixes..)



Le lundi 7 août 2017 18:25:25 UTC+2, Achim Nierbeck a écrit :
>
> BTW, just created the following improvement: 
> https://ops4j1.jira.com/browse/PAXWEB-1119
>
> 2017-08-07 18:22 GMT+02:00 Achim Nierbeck <[email protected] 
> <javascript:>>:
>
>> Hi, 
>>
>> the problem I see with this is, if one registers a WebSocket as Service, 
>> it usually doesn't need to be of a special Interface ... 
>> I can see that a property might help. Will think about this a bit more. 
>>
>> Right now you can't disable it.
>>
>> regards, Achim 
>>
>>
>> 2017-08-07 14:00 GMT+02:00 Jérémie Brébec <[email protected] 
>> <javascript:>>:
>>
>>> Hello,
>>>
>>> In pax web 6, a WebSocketTracker is created. This tracker "track" with a 
>>> ServiceTracker every registration of services with the class "Object". This 
>>> tracker resolves every service through bundleContext.getService().
>>> As a consequence, every component registered with "Object" are resolved, 
>>> breaking the Declaratives Services lazy properties.
>>>
>>> Is there a way to deactivate this tracker, or at least make it activate 
>>> only with the presence of a property ? This tracker is not precise enough, 
>>> imho, to systematically calls getService on every references.
>>>
>>> Regard,
>>> Jérémie
>>>
>>> -- 
>>> -- 
>>> ------------------
>>> OPS4J - http://www.ops4j.org - [email protected] <javascript:>
>>>
>>> --- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "OPS4J" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to [email protected] <javascript:>.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> -- 
>>
>> Apache Member
>> Apache Karaf <http://karaf.apache.org/> Committer & PMC
>> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer 
>> & Project Lead
>> blog <http://notizblog.nierbeck.de/>
>> Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>
>>
>> Software Architect / Project Manager / Scrum Master 
>>
>>
>
>
> -- 
>
> Apache Member
> Apache Karaf <http://karaf.apache.org/> Committer & PMC
> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & 
> Project Lead
> blog <http://notizblog.nierbeck.de/>
> Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>
>
> Software Architect / Project Manager / Scrum Master 
>
>

-- 
-- 
------------------
OPS4J - http://www.ops4j.org - [email protected]

--- 
You received this message because you are subscribed to the Google Groups 
"OPS4J" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to