> On 9 Mar 2017, at 20:14, BJ Hargrave <[email protected]> wrote:
> 
> The ordering is the same regardless of whether the reference is static or 
> dynamic.
>  
> I have clarified the text in 112.3.8.1 for this in the DS 1.4 spec.

Thanks a lot.
> --
> 
> BJ Hargrave
> Senior Technical Staff Member, IBM // office: +1 386 848 1781
> OSGi Fellow and CTO of the OSGi Alliance // mobile: +1 386 848 3788
> [email protected]
>  
>  
> ----- Original message -----
> From: Konrad Windszus <[email protected]>
> Sent by: [email protected]
> To: [email protected]
> Cc:
> Subject: [osgi-dev] Order of injected services into a Collection/List field
> Date: Fri, Mar 3, 2017 2:42 AM
>  
> 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
> [email protected]
> https://mail.osgi.org/mailman/listinfo/osgi-dev
>  
> 
> _______________________________________________
> OSGi Developer Mail List
> [email protected]
> https://mail.osgi.org/mailman/listinfo/osgi-dev

_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to