On Dec 16, 2012, at 6:03 , David Jencks <[email protected]> wrote:

> 1. use a copy of ServiceTracker modified for the requirements of DS.   
> Service tracker actually tracks services properly and doesn't emit duplicate 
> events, miss events, etc etc.  I don't think its possible to track services 
> properly in any simpler way. 

Interestingly, for the Dependency Manager I did something similar. I extended 
ServiceTracker for exactly the same reason initially as you, namely to add a 
"service added" callback. I then later added some logic to deal with the 
"aspect services", so probably our implementations don't have exactly the same 
features. I just wanted to let you know you're not the only one taking this 
path. :)

Greetings, Marcel

Reply via email to