*nods* Nearly every time I've seen ThreadLocal used, it's to do something that would be better implemented with a more specific scope - such as getting session or application values into unrelated components (before widespread adoption of DI).
-Josh On Wed, Oct 1, 2008 at 8:59 AM, Bob Lee <[EMAIL PROTECTED]> wrote: > Are you sure you actually want thread local scope? It's very prone to > memory leaks. > > Bob > > > > -- "Therefore, send not to know For whom the bell tolls. It tolls for thee." http://flex.joshmcdonald.info/ :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "google-guice" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-guice?hl=en -~----------~----~----~----~------~----~------~--~---
