On 29/10/13 16:50, Ewgenij Sokolovski wrote:
OK, thanks for the information! Would it not be a good idea to introduce an additional parameter for the order of binding? Then the developer could easily define how his services are bound with BND or without BND...
This has been asked a few times before and you'll find that many people frown upon defining start order.
Having to specify start order indicates that there is something 'not quite right' with your application. And at the very least it's very fragile.
BR Ewgenij *Gesendet:* Dienstag, 29. Oktober 2013 um 14:19 Uhr *Von:* "BJ Hargrave" <[email protected]> *An:* "OSGi Developer Mail List" <[email protected]> *Betreff:* Re: [osgi-dev] Defining binding order for servises with DS However, if you are using DS annotations rather than writing the XML file yourself, then you have no controls over the order of reference elements bnd will write to the generated XML file. -- *BJ Hargrave* Senior Technical Staff Member, IBM OSGi Fellow and CTO of the _OSGi Alliance_ <http://www.osgi.org/> [email protected]_ office: +1 386 848 1781 mobile: +1 386 848 3788 _______________________________________________ OSGi Developer Mail List [email protected] https://mail.osgi.org/mailman/listinfo/osgi-dev
-- Ferry Huberts _______________________________________________ OSGi Developer Mail List [email protected] https://mail.osgi.org/mailman/listinfo/osgi-dev
