Status: New
Owner: ----

New issue 354 by james.strachan: [PATCH] provide a way to iterate through  
all objects in a scope
http://code.google.com/p/google-guice/issues/detail?id=354

For background see this thread...
http://groups.google.com/group/google-guice/browse_thread/thread/da6af0961cf4a5d6

the issue is to be able to find all the objects in a scope easily so that  
they can be then closed.

Dhanji's great suggestion - is another implementation option - though it  
requires finding the
binding for the current injectee object in the InjectionListener...
http://code.google.com/p/google-guice/issues/detail?id=62

So this patch just allows the provider created by a Scope to also implement  
the CachedValue
interface so you can ask for the current cached value in a scope.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
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