I've debugged a little bit. It is cool to see the inner workings of
Guice. It looks like:
The createChildInjector's injector JIT bindings end up at the root
injector (which is already fully "initialized" and is not
"reinitialized") therefore the bindings just sit there and don't get
processed. Probably better if they'd wind up at the child injector
like it happens with PrivateModules or something.
Probably the easiest if just use explicit bindings instead of
@Singleton.
Cheers,
Alen
On May 16, 8:36 pm, Sam Berlin <
sber...@gmail.com> wrote:
> Did you mean to reply with this in the other thread (about @nullable)?
>
> Any insight into this child injector eager singleton issue? The
> @nullable one can be worked around, but I don't see a good way to
> workaround this.
>
> Sam
>
> On May 16, 2009, at 1:00 PM, "
je...@swank.ca" <
limpbiz...@gmail.com>