Comment by MrHarpreetS:

I have a request scoped class 'A' that is injected using JustInTime bindings. Now if such class is injected in multiple classes, will a new instance of 'A' class be created and then injected or will the same instance that is created for the current request be injected into all classes for that request. I mean to ask like if I add some data to class 'A' using a class 'B' ('A' is injected into 'B' using JustInTime binding), will this data be available to class 'C' also when 'A' is injected into class 'C' in the same request? Also is there any difference in the behaviour if bindings is not JustInTime but explicit bindings.


For more information:
http://code.google.com/p/google-guice/wiki/Scopes

--
You received this message because you are subscribed to the Google Groups 
"google-guice-dev" 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-dev?hl=en.

Reply via email to