Comment #2 on issue 353 by tregubov: Strange behavior on Inject Injector  
instance in Constructor
http://code.google.com/p/google-guice/issues/detail?id=353

Some Investigations:

I have Root Injector(#1). One Child injector(#2) under it. And One Child  
Injector(#3)
under it (it's create in Constructor ru.faulab.fmsgenerator.gui.GUI).  
FMSDocuments
register in middle child injector(#2) like  
this.bind(FMSDocuments.class).in(Singleton.class);

java.util.Set<ru.faulab.fmsgenerator.core.document.DocumentTemplate> -  
register in
this injector too like this.install(new DocumentModule());

When GUI has dependecy to FMSDocument it got Injector refernced to #2 but  
when i
remove this dependnecy in constructir i got Injector refernced to #1.

I think this information can help you

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
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=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to