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, cardinality =
ReferenceCardinality.OPTIONAL_MULTIPLE,
policy = ReferencePolicy.DYNAMIC)
Is there a way to force unbind and bind to happen for all Services which
implement MyServiceInterface anytime a single instance changes?
Alternatively, is there a good way to retrieve the service.ranking value
from my bind method, so that I can just sort them there?
--Sean