how to retrieve objects / values directly from the scope they are bound to using the binding key ?

25 views
Skip to first unread message

Debasish Padhy

unread,
Feb 27, 2017, 6:52:25 AM2/27/17
to google-guice
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

Thomas Broyer

unread,
Feb 27, 2017, 2:13:34 PM2/27/17
to google-guice
Couldn't you inject the Injector?
Reply all
Reply to author
Forward
0 new messages