Comment by fyellin: I don't think the List<String> example works. Every injection of List<String> will be bound to the same ArrayList (since toInstance() implicitly creates a singleton). This is probably not what the user intended.
For more information: http://code.google.com/p/google-guice/wiki/FrequentlyAskedQuestions -- 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=.
