The concept given has shown to work well in Deltaspike. No need to reinvent
the wheel IMO.

2015-01-27 22:21 GMT+01:00 Oliver B. Fischer <[email protected]>:

> We can not sort by classname. Even changing the package structure will
> change to sort order. What can cause mightmares in production? Changing
> runtime configuration because of package renaming?
>
> Oliver
>
> Am 27.01.15 um 21:26 schrieb Anatole Tresch:
>
>  -1 for failing.
>>
>> Did you read the Javadocs? It is clearly written that we sort
>> 1) by ordinal
>> 2) by fully qualified class name.
>>
>> So there is an order that even is not dependend on classloaders.
>>
>>
>> 2015-01-27 19:52 GMT+01:00 Oliver B. Fischer <[email protected]>:
>>
>>  Hi,
>>>
>>> I am just writing some unit tests. One of them adds multiple property
>>> sources with the same key and the same ordinal. As we can not decide
>>> which one is the right one we should throw an exception.
>>>
>>> WDYT?
>>>
>>> Oliver
>>>
>>> --
>>> N Oliver B. Fischer
>>> A Schönhauser Allee 64, 10437 Berlin, Deutschland/Germany
>>> P +49 30 44793251
>>> M +49 178 7903538
>>> E [email protected]
>>> S oliver.b.fischer
>>> J [email protected]
>>> X http://xing.to/obf
>>>
>>>
>>>
>>
> --
> N Oliver B. Fischer
> A Schönhauser Allee 64, 10437 Berlin, Deutschland/Germany
> P +49 30 44793251
> M +49 178 7903538
> E [email protected]
> S oliver.b.fischer
> J [email protected]
> X http://xing.to/obf
>
>


-- 
*Anatole Tresch*
Java Engineer & Architect, JSR Spec Lead
Glärnischweg 10
CH - 8620 Wetzikon

*Switzerland, Europe Zurich, GMT+1*
*Twitter:  @atsticks*
*Blogs: **http://javaremarkables.blogspot.ch/
<http://javaremarkables.blogspot.ch/>*

*Google: atsticksMobile  +41-76 344 62 79*

Reply via email to