Thanks for your answers !
Indeed, in any case i am forced to GWT.create only the top level
Ginjector, preventing the low-level project to have a ginjector
accessible in his classpath.
I need them both separated for multiple reasons. Essentially, there is
a framework project which will be used by different client projects. I
want in my framework project to be able to do :
Fmk.ginjector.getEventBus() (or something else). But i can't do that
without GWT.creating the ginjector in my framework project
explicitely. That's why i neither want my top level ginjector to
extends my framework ginjector nor my top level ginjector to reference
the framework module.
If i install() the framework module in the top level module the result
is the same.
I am indeed using gwtp. I know the framework and how it works, my
projects are running fine since a long time, but as the framework
grows in complexity, i need more access to my low level ginjector.
As i said i can use the @Inject annotation in my framework objects to
retrieve what i need, but i'll prefer to have an hand on my ginjector
at this point.
Is there in Gin no method to retrieve a ginjector without being in Gin
scope ?
Something like : Gin.retrieveGinjector("ginjectorName") > which i
could then cast in FmkGinjector for example.
Thanks for reading !