Discussion:
how to retrieve objects / values directly from the scope they are bound to using the binding key ?
Debasish Padhy
2017-02-27 11:52:25 UTC
Permalink
Hi,

I need to retrieve multiple values / objects from a scope session / request
using their keys. Is this possible ? I am assuming it should be possible
using some kind Scopes class but not sure how and what class to use.

Can't inject these needed values since the objects needed are completely
random / dynamically decided and injecting all the possible values would be
very crude.

please help.

thanks,
Debasish
--
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 google-guice+***@googlegroups.com.
To post to this group, send email to google-***@googlegroups.com.
Visit this group at https://groups.google.com/group/google-guice.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-guice/0d3411c5-78c4-42f7-bbc2-b10f852b6aca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thomas Broyer
2017-02-27 19:13:34 UTC
Permalink
Couldn't you inject the Injector?
--
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 google-guice+***@googlegroups.com.
To post to this group, send email to google-***@googlegroups.com.
Visit this group at https://groups.google.com/group/google-guice.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-guice/5d062a14-e921-47f3-a321-a19765fcf329%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...