On Sun, Jul 1, 2012 at 5:00 PM, Carsten Ziegeler <[email protected]> wrote: > In general, services with higher ranking have preference over services > with lower values. That's why we call services with lower ranking in > the decorator case first. Decorators with a higher ranking come last > and therefore have the final saying. > > So I think everything is fine here :)
I agree, and to be complete here's how the Spec defines comparing two services based on their ServiceReference: http://www.osgi.org/javadoc/r4v43/core/org/osgi/framework/ServiceReference.html#compareTo(java.lang.Object) -Bertrand
