There are two common options
1. you could use assisted injection or @AutoFactory to create a factory for
the b's that allow you to pass an explicit object. Then A can just
construct a C and pass it to all of its Bs
2. you could introduce a custom scope managed by a1 and a2. This is
sometimes
Hi all,
We're working on quite a big project, already using dependency injection in
90% of the places, but without a framework. After having to modify 33 files
just to add one dependency into one deeply nested class, I'm convinced that
we should use a DI framework. Google Guice is one of the