Google Guice (pronounced "juice") is an ultra-lightweight dependency
injection framework.
more...
Interfaces
Binder |
Collects configuration information (primarily bindings) which will be
used to create an Injector . |
Binding<T> |
A mapping from a key (type and optional annotation) to the strategy for getting instances of the
type. |
Injector |
Builds the graphs of objects that make up your application. |
MembersInjector<T> |
Injects dependencies into the fields and methods on instances of type T . |
Module |
A module contributes configuration information, typically interface
bindings, which will be used to create an Injector . |
PrivateBinder |
Returns a binder whose configuration information is hidden from its environment by default. |
Provider<T> |
An object capable of providing instances of type T . |
Scope |
A scope is a level of visibility that instances provided by Guice may have. |
Classes
AbstractModule |
A support class for Module s which reduces repetition and results in
a more readable configuration. |
Guice |
The entry point to the Guice framework. |
Key<T> |
Binding key consisting of an injection type and an optional annotation. |
PrivateModule |
A module whose configuration information is hidden from its environment by default. |
Scopes |
Built-in scope implementations. |
TypeLiteral<T> |
Represents a generic type T . |
Enums
Stage |
The stage we're running in. |
Exceptions