I have created Injector instance using Guice.create(modules). After creating an injector I want to add some bindings dynamically, so is it possible?
Asked
Active
Viewed 114 times
1
-
1You can use child injectors. This means that you have another injector with extra bindings, but those bindings won't be present in your "parent" injector – Olivier Grégoire Feb 24 '17 at 12:51
-
@OlivierGrégoire, yes, that might work, I will try it, thanks. – vsbehere Feb 25 '17 at 03:30