session information per thread

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

session information per thread

Gerrie Myburg  [ MTN - Innovation Centre ]
If there a way to find the context map while in a function called from a
service? I need to know this as the code to get the externalized strings
needs to know the locale for the service.

One way I can solve this is to store the context map in a map that has
the thread as key. When I need to find the local in a method than all I
need to do is to query this map for the current thread. I can put this
code in UtilMisc.

Is there another way of solving this problem?


NOTE: This e-mail message is subject to the MTN Group disclaimer see http://www.mtn.co.za/default.aspx?pid=34411