sorry, i just found the method:
  Map<Key<?>, Binding<?>> map = injector.getBindings()

can be used to iterate all.

On Jun 1, 10:01 am, "[email protected]" <[email protected]>
wrote:
> Hi all
>   I'm upgrade my app from guice 1.0 to 2.0, and I found
> "injector.findBindingsByType(null)" returns empty list in 2.0, How can
> I get all singletons from injector? Thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"google-guice" 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to