| Fulfills requests for the object instances that make up your application,
always ensuring that these instances are properly injected before they are
returned. The
Injector is the heart of the Guice framework,
although you don't typically interact with it directly very often. This
"behind-the-scenes" operation is what distinguishes the dependency
injection pattern from its cousin, service locator.
The
Injector API has a few additional features: it allows
pre-constructed instances to have their fields and methods injected and
offers programmatic introspection to support tool development.
Contains several default bindings:
Injectors are created using the facade class
Guice .
author: crazybob@google.com (Bob Lee) |