"alesj" wrote :
| I fail to see why I would need two different levels of ServiceTracker.
| As I also always have to check the "global" list.
|
| When would I check just deployment level ServiceTracker?
| For non-system bundle, to lookup non-osgi services that belong just to this bundle /
jar / deployment?
|
It is the stats that are at different levels.
* The queries are global.
* The inuse tracking is at system/application/deployment level, i.e. this deployment
uses a service from some other deployment and the some other deployment's service
has its "in use" count integrated.
See the current OSGi code. The queries run against the OSGiBundleManager (should be
Controller).
The other statistics are at BundleState level (should be ServiceTracker at whatever
level the deployers setup for that context).
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266980#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...