Collects configuration information (primarily bindings) which will be used to create an
A mapping from a key (type and optional annotation) to the strategy for getting instances of the type.
Builds the graphs of objects that make up your application.
Injects dependencies into the fields and methods on instances of type
A module contributes configuration information, typically interface bindings, which will be used to create an
Returns a binder whose configuration information is hidden from its environment by default.
An object capable of providing instances of type
A scope is a level of visibility that instances provided by Guice may have.
A support class for
The entry point to the Guice framework.
Binding key consisting of an injection type and an optional annotation.
A module whose configuration information is hidden from its environment by default.
Built-in scope implementations.
Represents a generic type
The stage we're running in.
Thrown when a programming error such as a misplaced annotation, illegal binding, or unsupported scope is found.
Thrown when errors occur while creating a
Indicates that there was a runtime failure while providing an instance.
Annotates annotations which are used for binding.
Acccompanies a @
A pointer to the default implementation of a type.
Annotates members of your implementation class (constructors, methods and fields) into which the
A pointer to the default provider type for a type.
Annotates methods of a
Annotates annotations which are used for scoping.
Apply this to implementation classes when you want only one instance (per
The principal public APIs in this package are:
Moduleto collect these bindings.
Copyright © 2006–2018 Google, Inc.. All rights reserved.