Multiple Dynamic service references and service.ranking

2013-11-25 Thread Sean Steimer
I'm trying to find a way to hold references to multiple services using the same interface, and keep that list sorted by service.ranking, such that I can call them in a given order, regardless of the order in which they are bound. @Reference(referenceInterface = MyServiceInterface.class,

Re: Multiple Dynamic service references and service.ranking

2013-11-25 Thread Chetan Mehrotra
Also have a look at [1] which maintains a map of services in sorted order. Chetan Mehrotra [1] https://gist.github.com/chetanmeh/3918574 On Tue, Nov 26, 2013 at 12:03 PM, Sean Steimer sean.stei...@gmail.com wrote: Bertrand, Thanks for the reply. I'm interested to look into the