Hi Pierre,
So, do we really need to control the order of priority from outside a Translator? Imho, yes. At least as soon as we don't want to do any assumption about when each resourcebundle will be added to the list.
Well, I'm not so sure about this. People call the addResourceBundle method manually, right? Can't they just call them in the correct order. I'll hear you say: "Yeah but what when they need to add resource bundles in front when a translator already has some?". Adding to the top doesn't solve that either, since at a later time other resource bundles might be added above again and obscure the properties too. My point is, if there's a specific order that needs to be respected, then the developer can easily handle this by adding all the resource bundles one after the other in a reference factory or IoC container. I don't think that explicitly adding to front or bottom helps.
What do you think? Best regards, Geert -- Geert Bevin Uwyn bvba GTalk: [EMAIL PROTECTED] "Use what you need" Avenue de Scailmont 34 Skype: gbevin http://www.uwyn.com 7170 Manage, Belgium AIM: geertbevin gbevin at uwyn dot com Tel: +32 64 84 80 03 Mobile: +32 477 302 599 PGP Fingerprint : 4E21 6399 CD9E A384 6619 719A C8F4 D40D 309F D6A9 Public PGP key : available at servers pgp.mit.edu, wwwkeys.pgp.net _______________________________________________ Rife-users mailing list [email protected] http://lists.uwyn.com/mailman/listinfo/rife-users
