Ok, sorry bad example.
Its more like:
class A {
B b;
}
class B {
@Inject C c;
public void useC() {
c.doSomething();
}
}
I don't have @Inject on B, because class A know B needs C Injected.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---