I do believe the order is always reversed natural ordering on the
ServiceReference.

i.e.
- first; ordered by service.ranking property in descending order (highest
ranked first)
- second; ordered by service.id property in ascending order (oldest first)

HTH,
- Ray

On Thu, Mar 9, 2017 at 10:15 AM, Konrad Windszus <konra...@gmx.de> wrote:

> Can anyone comment or this, or do you want me to open a Bugzilla issue?
> Thanks,
> Konrad
> > On 3 Mar 2017, at 08:42, Konrad Windszus <konra...@gmx.de> wrote:
> >
> > Hi,
> > DS 1.3 added field injection and now supports Collections/Lists.
> Unfortunately it is only specified (in OSGi R6 Comp, §112.3.8.1) how those
> are ordered in case of dynamic references. What about having a static
> reference with multiple cardinality?
> > I fail to see the according spec about the ordering of these.
> > Is this an oversight on my side, or is this just missing from the spec?
> > Can I assume that those are ordered as well according to
> ServiceReference.compareTo(...)?
> > Thanks,
> > Konrad
>
> _______________________________________________
> OSGi Developer Mail List
> osgi-dev@mail.osgi.org
> https://mail.osgi.org/mailman/listinfo/osgi-dev
>



-- 
*Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile>
 (@rotty3000)
Senior Software Architect *Liferay, Inc.* <http://www.liferay.com>
 (@Liferay)
Board Member & EEG Co-Chair, OSGi Alliance <http://osgi.org> (@OSGiAlliance)
_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to