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 <jeremie.bre...@gmail.com>:

> 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 - ops4j@googlegroups.com
>
> ---
> 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 ops4j+unsubscr...@googlegroups.com.
> 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

-- 
-- 
------------------
OPS4J - http://www.ops4j.org - ops4j@googlegroups.com

--- 
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 ops4j+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to