I'm not sure, whether I get you right. But to me this sounds like a situation where I would create child injectors and somehow make sure that they are accessible. For example, in a web application, I might create a parent injector for the whole web application. And, for any HTTP Request, I might create a child injector with request specific data (a database transaction comes to mind) and store that in a ThreadLocal.
OTOH, my example might interfere a lot with scopes. But, to be honest: I never really understood what scopes are good for. Jochen -- You received this message because you are subscribed to the Google Groups "google-guice" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-guice. To view this discussion on the web visit https://groups.google.com/d/msgid/google-guice/e520e848-afe4-47d1-99d8-d0c6dee7b2ea%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
