On 23 jul, 17:40, gpampara <[email protected]> wrote: > You would not need to create multiple injectors, a single injector is > sufficient. As you obtain an instance from the injector, all > injections within the original object you obtain will be injected as > well, in this way the injections cascade until the entire object graph > is built.
Well... Perhaps I'm missunderstanding Guice's philosophy, but I'm a bit confused. I can't see how can I get an instance from a class out ouf the main method without creating an injector again. I don't get the point... is Guice thinked towars some kind of cascade d-i? Is there some example application of Guice in other domains than web applications? 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 -~----------~----~----~----~------~----~------~--~---
