I'm in process of learning Guice and I don't clearly understand how to use Injector
instance. It's better to create Injector
instance once on application bootstrap, and make it public singleton?
And is it true that we always must use Injector#getInstance(SomeClass.class)
to get classes where we putted Guice's @Inject
annotations?