Class Index

A B C D E F G H I J K L M N O P R S T U

A

AbstractMatcher<T> Implements and() and or()
AbstractModule A support class for Modules which reduces repetition and results in a more readable configuration. 
AnnotatedBindingBuilder<T> See the EDSL examples at Binder
AnnotatedConstantBindingBuilder See the EDSL examples at Binder
AnnotatedElementBuilder See the EDSL examples at Binder
Assisted Annotates an injected parameter or field whose value comes from an argument to a factory method. 
AssistedInject

When used in tandem with FactoryModuleBuilder, constructors annotated with @AssistedInject indicate that multiple constructors can be injected, each with different parameters. 

B

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. 
BindingAnnotation Annotates annotations which are used for binding. 
BindingScopingVisitor<V> Visits each of the strategies used to scope an injection. 
BindingTargetVisitor<T, V> Visits each of the strategies used to find an instance to satisfy an injection. 

C

ConfigurationException Thrown when a programming error such as a misplaced annotation, illegal binding, or unsupported scope is found. 
ConstantBindingBuilder Binds to a constant value. 
ConstructorBinding<T> A binding to the constructor of a concrete clss. 
ConvertedConstantBinding<T> A binding created from converting a bound instance to a new type. 
CreationException Thrown when errors occur while creating a Injector

D

DefaultBindingScopingVisitor<V> No-op visitor for subclassing. 
DefaultBindingTargetVisitor<T, V> No-op visitor for subclassing. 
DefaultElementVisitor<V> No-op visitor for subclassing. 
Dependency<T> A variable that can be resolved by an injector. 
DynamicFinder Utility that helps you introspect dynamic finder methods. 

E

Element A core component of a module or injector. 
Elements Exposes elements of a module so they can be inspected, validated or rewritten
ElementVisitor<V> Visit elements. 
Exposed Acccompanies a @Provides method annotation in a private module to indicate that the provided binding is exposed. 
ExposedBinding<T> A binding to a key exposed from an enclosed private environment. 

F

FactoryModuleBuilder Provides a factory that combines the caller's arguments with injector-supplied values to construct objects. 
FactoryProvider<F> This class is deprecated. use FactoryModuleBuilder instead.  
Finder Marks a method stub as a dynamic finder. 
FirstResult Annotate any dynamic finder method's integer argument with this to pass in the index of the first result in the result set you are interested in. 

G

Guice The entry point to the Guice framework. 
GuiceFilter

Apply this filter in web.xml above all other filters (typically), to all requests where you plan to use servlet scopes. 

GuiceServletContextListener As of Guice 2.0 you can still use (your subclasses of) GuiceServletContextListener class as a logical place to create and configure your injector. 

H

HasDependencies Implemented by bindings, providers and instances that expose their dependencies explicitly. 

I

ImplementedBy A pointer to the default implementation of a type. 
Inject Annotates members of your implementation class (constructors, methods and fields) into which the Injector should inject values. 
InjectionListener<I> Listens for injections into instances of type I
InjectionPoint A constructor, field or method that can receive injections. 
InjectionRequest<T> A request to inject the instance fields and methods of an instance. 
Injector Builds the graphs of objects that make up your application. 
InjectorBuilder The advanced entry point to the Guice framework. 
InstanceBinding<T> A binding to a single instance. 
InstanceFilterBinding A binding to a single instance of a filter. 
InstanceServletBinding A binding to a single instance of a servlet. 
InterceptorBinding Registration of interceptors for matching methods of matching classes. 

J

JndiIntegration Integrates Guice with JNDI. 
JpaPersistModule JPA provider for guice persist. 
Jsr330 Utility methods for use with JSR 330

K

Key<T> Binding key consisting of an injection type and an optional annotation. 

L

LinkedBindingBuilder<T> See the EDSL examples at Binder
LinkedFilterBinding A linked binding to a filter. 
LinkedKeyBinding<T> A binding to a linked key. 
LinkedServletBinding A linked binding to a servlet. 

M

ManagedBindingMBean JMX interface to bindings. 
Manager Provides a JMX interface to Guice. 
MapBinder<K, V> An API to bind multiple map entries separately, only to later inject them as a complete map. 
MapBinderBinding<T> A binding for a MapBinder. 
Matcher<T> Returns true or false for a given input. 
Matchers Matcher implementations. 
MaxResults Annotate any dynamic finder method's integer argument with this to pass in the maximum size of returned result window. 
MembersInjector<T> Injects dependencies into the fields and methods on instances of type T
MembersInjectorLookup<T> A lookup of the members injector for a type. 
Message An error message and the context in which it occured. 
Module A module contributes configuration information, typically interface bindings, which will be used to create an Injector
Modules Static utility methods for creating and working with instances of Module
Modules.OverriddenModuleBuilder See the EDSL example at override()
Multibinder<T> An API to bind multiple values separately, only to later inject them as a complete collection. 
MultibinderBinding<T> A binding for a Multibinder. 
MultibindingsTargetVisitor<T, V> A visitor for the multibinder extension. 

N

Named Annotates named things. 
Names Utility methods for use with @Named

O

OutOfScopeException Thrown from get() when an attempt is made to access a scoped object while the scope in question is not currently active. 

P

PersistFilter Apply this filter to enable the HTTP Request unit of work and to have guice-persist manage the lifecycle of active units of work. 
PersistModule Install this module to add guice-persist library support for JPA persistence providers. 
PersistService Persistence provider service. 
PrivateBinder Returns a binder whose configuration information is hidden from its environment by default. 
PrivateElements A private collection of elements that are hidden from the enclosing injector or module by default. 
PrivateModule A module whose configuration information is hidden from its environment by default. 
ProvidedBy A pointer to the default provider type for a type. 
Provider<T> An object capable of providing instances of type T
ProviderBinding<T extends Provider<?>> A binding to a Provider that delegates to the binding for the provided type. 
ProviderInstanceBinding<T> A binding to a provider instance. 
ProviderKeyBinding<T> A binding to a provider key. 
ProviderLookup<T> A lookup of the provider for a type. 
Providers Static utility methods for creating and working with instances of Provider
ProviderWithDependencies<T> A provider with dependencies on other injected types. 
ProviderWithExtensionVisitor<T> A Provider that is part of an extension which supports a custom BindingTargetVisitor. 
Provides Annotates methods of a Module to create a provider method binding. 
ProvisionException Indicates that there was a runtime failure while providing an instance. 

R

RequestParameters Apply this to field or parameters of type Map<String, String[]> when you want the HTTP request parameter map to be injected. 
RequestScoped Apply this to implementation classes when you want one instance per request. 

S

Scope A scope is a level of visibility that instances provided by Guice may have. 
ScopeAnnotation Annotates annotations which are used for scoping. 
ScopeBinding Registration of a scope annotation with the scope that implements it. 
ScopedBindingBuilder See the EDSL examples at Binder
Scopes Built-in scope implementations. 
ServletModule Configures the servlet scopes and creates bindings for the servlet API objects so you can inject the request, response, session, etc. 
ServletModule.FilterKeyBindingBuilder See the EDSL examples at configureServlets() 
ServletModule.ServletKeyBindingBuilder See the EDSL examples at configureServlets() 
ServletModuleTargetVisitor<T, V> A visitor for the servlet extension. 
ServletScopes Servlet scopes. 
SessionScoped Apply this to implementation classes when you want one instance per session. 
Singleton Apply this to implementation classes when you want only one instance (per Injector) to be reused for all injections for that binding. 
SpringIntegration Integrates Guice with Spring. 
Stage The stage we're running in. 
StaticInjectionRequest A request to inject the static fields and methods of a type. 

T

ThrowingProvider<T, E extends Exception> Alternative to the Guice Provider that throws a checked Exception. 
ThrowingProviderBinder

Builds a binding for a ThrowingProvider using a fluent API:

ThrowingProviderBinder.create(binder())
    .bind(RemoteProvider.class, Customer.class)
    .to(RemoteCustomerProvider.class)
    .in(RequestScope.class);
 
 
ThrowingProviderBinder.SecondaryBinder<P extends ThrowingProvider>  
Toolable Instructs an Injector running in TOOL that a method should be injected. 
Transactional

Any method or class marked with this annotation will be considered for transactionality. 

TypeConverter Converts constant string values to a different type. 
TypeConverterBinding Registration of type converters for matching target types. 
TypeEncounter<I> Context of an injectable type encounter. 
TypeListener Listens for Guice to encounter injectable types. 
TypeListenerBinding Binds types (picked using a Matcher) to an type listener. 
TypeLiteral<T> Represents a generic type T
Types Static methods for working with types. 

U

UnitOfWork This interface is used to gain manual control over the unit of work. 
UntargettedBinding<T> An untargetted binding. 
UriPatternType An enumeration of the available URI-pattern matching styles