Peter means it is in the order of the name elements of the @Reference 
annotations. So you can control the order by setting the name element to 
values which will sort in your desired order.
-- 

BJ Hargrave
Senior Technical Staff Member, IBM
OSGi Fellow and CTO of the OSGi Alliance
[email protected]

office: +1 386 848 1781
mobile: +1 386 848 3788




From:   "Ewgenij Sokolovski" <[email protected]>
To:     "OSGi Developer Mail List" <[email protected]>
Date:   2013/11/04 06:00
Subject:        Re: [osgi-dev] Defining binding order for servises with DS
Sent by:        [email protected]



Hello, what does that exactly mean? I observed that the order of 
references in the resulting XML file is not always the same as order of 
@Reference annotations in the source file.
 
BR
Ewgenij Sokolovski
 

>bnd sorts the reference names since source order is not guaranteed.
 
>Kind regards, 
>Peter Kriens
 

 _______________________________________________
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