No, if they are injected through IoC, the reference factory can either provide the LocalProvider as a singleton,

singleton: is there no risk of confusion between 2 or more elements from different threads?

Not with the interface I proposed:
List<Locale> getLocales(ElementSupport)

since each thread will provide its own instance of the element to the method.

either instantiate it at each use. This can then be injected into a property. We still need to add simple reference factory features to RIFE itself currently it delegates that to a repository participant

can you give me a link to any howto.

Not a real howto, but this explains it a bit:

http://rifers.org/wiki/display/RIFE/IoC+support
http://rifers.org/wiki/display/RIFE/IoC+properties+support+inside+the +repository

--
Geert Bevin                       Uwyn bvba
"Use what you need"               Avenue de Scailmont 34
http://www.uwyn.com               7170 Manage, Belgium
gbevin[remove] at uwyn dot com    Tel +32 64 84 80 03

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://www.uwyn.com/mailman/listinfo/rife-users

Reply via email to