On Thu, Sep 11, 2008 at 12:19 PM, Pyrolistical <[EMAIL PROTECTED]> wrote:
>
> Here's an example of why I don't "get" Guice.
>
> class A {
> @Inject B b;
> }
>
> class B {
> @Inject C c;
>
> publc void useC() {
> c.doSomething();
> }
> }
>
> If you use an injector to get an instance of A, it doesn't Inject the
> member c in class B.
Actually, it should inject c. Why do you think it doesn't? Can you provide
the full example?
Bob
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---