A C G M N O P S V 

A

addBinding(K) - Method in class com.google.inject.multibindings.MapBinder
Returns a binding builder used to add a new entry in the map.
addBinding() - Method in class com.google.inject.multibindings.Multibinder
Returns a binding builder used to add a new element in the set.
asModule() - Static method in class com.google.inject.multibindings.MultibindingsScanner
Returns a module that, when installed, will scan all modules for methods with the annotations @ProvidesIntoMap, @ProvidesIntoSet, and @ProvidesIntoOptional.

C

ClassMapKey - Annotation Type in com.google.inject.multibindings
Allows @ProvidesIntoMap to specify a class map key.
com.google.inject.multibindings - package com.google.inject.multibindings
Extension for binding multiple instances in a collection; this extension requires guice-multibindings.jar.
containsElement(Element) - Method in interface com.google.inject.multibindings.MapBinderBinding
Returns true if this MapBinder contains the given Element in order to build the map or uses the given Element in order to support building and injecting the map.
containsElement(Element) - Method in interface com.google.inject.multibindings.MultibinderBinding
Returns true if this Multibinder uses the given Element.
containsElement(Element) - Method in interface com.google.inject.multibindings.OptionalBinderBinding
Returns true if this OptionalBinder contains the given Element in order to build the optional binding or uses the given Element in order to support building and injecting its data.

G

getActualBinding() - Method in interface com.google.inject.multibindings.OptionalBinderBinding
Returns the actual binding (set by OptionalBinder.setBinding()) or null if not set.
getDefaultBinding() - Method in interface com.google.inject.multibindings.OptionalBinderBinding
Returns the default binding (set by OptionalBinder.setDefault()) if one exists or null if no default binding is set.
getElements() - Method in interface com.google.inject.multibindings.MultibinderBinding
Returns all bindings that make up the set.
getElementTypeLiteral() - Method in interface com.google.inject.multibindings.MultibinderBinding
Returns the TypeLiteral that describes the type of elements in the set.
getEntries() - Method in interface com.google.inject.multibindings.MapBinderBinding
Returns all entries in the Map.
getKey() - Method in interface com.google.inject.multibindings.OptionalBinderBinding
Returns the Key for this binding.
getKeyTypeLiteral() - Method in interface com.google.inject.multibindings.MapBinderBinding
Returns the TypeLiteral describing the keys of the map.
getMapKey() - Method in interface com.google.inject.multibindings.MapBinderBinding
Returns the Key for the map.
getSetKey() - Method in interface com.google.inject.multibindings.MultibinderBinding
Returns the key for the set.
getValueTypeLiteral() - Method in interface com.google.inject.multibindings.MapBinderBinding
Returns the TypeLiteral describing the values of the map.

M

MapBinder<K,V> - Class in com.google.inject.multibindings
An API to bind multiple map entries separately, only to later inject them as a complete map.
MapBinderBinding<T> - Interface in com.google.inject.multibindings
A binding for a MapBinder.
MapKey - Annotation Type in com.google.inject.multibindings
Allows users define customized key type annotations for map bindings by annotating an annotation of a Map's key type.
Multibinder<T> - Class in com.google.inject.multibindings
An API to bind multiple values separately, only to later inject them as a complete collection.
MultibinderBinding<T> - Interface in com.google.inject.multibindings
A binding for a Multibinder.
MultibindingsScanner - Class in com.google.inject.multibindings
Scans a module for annotations that signal multibindings, mapbindings, and optional bindings.
MultibindingsTargetVisitor<T,V> - Interface in com.google.inject.multibindings
A visitor for the multibinder extension.

N

newMapBinder(Binder, TypeLiteral<K>, TypeLiteral<V>) - Static method in class com.google.inject.multibindings.MapBinder
Returns a new mapbinder that collects entries of keyType/valueType in a Map that is itself bound with no binding annotation.
newMapBinder(Binder, Class<K>, Class<V>) - Static method in class com.google.inject.multibindings.MapBinder
Returns a new mapbinder that collects entries of keyType/valueType in a Map that is itself bound with no binding annotation.
newMapBinder(Binder, TypeLiteral<K>, TypeLiteral<V>, Annotation) - Static method in class com.google.inject.multibindings.MapBinder
Returns a new mapbinder that collects entries of keyType/valueType in a Map that is itself bound with annotation.
newMapBinder(Binder, Class<K>, Class<V>, Annotation) - Static method in class com.google.inject.multibindings.MapBinder
Returns a new mapbinder that collects entries of keyType/valueType in a Map that is itself bound with annotation.
newMapBinder(Binder, TypeLiteral<K>, TypeLiteral<V>, Class<? extends Annotation>) - Static method in class com.google.inject.multibindings.MapBinder
Returns a new mapbinder that collects entries of keyType/valueType in a Map that is itself bound with annotationType.
newMapBinder(Binder, Class<K>, Class<V>, Class<? extends Annotation>) - Static method in class com.google.inject.multibindings.MapBinder
Returns a new mapbinder that collects entries of keyType/valueType in a Map that is itself bound with annotationType.
newOptionalBinder(Binder, Class<T>) - Static method in class com.google.inject.multibindings.OptionalBinder
 
newOptionalBinder(Binder, TypeLiteral<T>) - Static method in class com.google.inject.multibindings.OptionalBinder
 
newOptionalBinder(Binder, Key<T>) - Static method in class com.google.inject.multibindings.OptionalBinder
 
newSetBinder(Binder, TypeLiteral<T>) - Static method in class com.google.inject.multibindings.Multibinder
Returns a new multibinder that collects instances of type in a Set that is itself bound with no binding annotation.
newSetBinder(Binder, Class<T>) - Static method in class com.google.inject.multibindings.Multibinder
Returns a new multibinder that collects instances of type in a Set that is itself bound with no binding annotation.
newSetBinder(Binder, TypeLiteral<T>, Annotation) - Static method in class com.google.inject.multibindings.Multibinder
Returns a new multibinder that collects instances of type in a Set that is itself bound with annotation.
newSetBinder(Binder, Class<T>, Annotation) - Static method in class com.google.inject.multibindings.Multibinder
Returns a new multibinder that collects instances of type in a Set that is itself bound with annotation.
newSetBinder(Binder, TypeLiteral<T>, Class<? extends Annotation>) - Static method in class com.google.inject.multibindings.Multibinder
Returns a new multibinder that collects instances of type in a Set that is itself bound with annotationType.
newSetBinder(Binder, Key<T>) - Static method in class com.google.inject.multibindings.Multibinder
Returns a new multibinder that collects instances of the key's type in a Set that is itself bound with the annotation (if any) of the key.
newSetBinder(Binder, Class<T>, Class<? extends Annotation>) - Static method in class com.google.inject.multibindings.Multibinder
Returns a new multibinder that collects instances of type in a Set that is itself bound with annotationType.

O

OptionalBinder<T> - Class in com.google.inject.multibindings
An API to bind optional values, optionally with a default value.
OptionalBinderBinding<T> - Interface in com.google.inject.multibindings
A binding for a OptionalBinder.

P

permitDuplicates() - Method in class com.google.inject.multibindings.MapBinder
Configures the MapBinder to handle duplicate entries.
permitDuplicates() - Method in class com.google.inject.multibindings.Multibinder
Configures the bound set to silently discard duplicate elements.
permitsDuplicates() - Method in interface com.google.inject.multibindings.MapBinderBinding
Returns true if the MapBinder permits duplicates.
permitsDuplicates() - Method in interface com.google.inject.multibindings.MultibinderBinding
Returns true if the multibinder permits duplicates.
ProvidesIntoMap - Annotation Type in com.google.inject.multibindings
Annotates methods of a Module to add items to a MapBinder.
ProvidesIntoOptional - Annotation Type in com.google.inject.multibindings
Annotates methods of a Module to add items to a Multibinder.
ProvidesIntoOptional.Type - Enum in com.google.inject.multibindings
 
ProvidesIntoSet - Annotation Type in com.google.inject.multibindings
Annotates methods of a Module to add items to a Multibinder.

S

scanner() - Static method in class com.google.inject.multibindings.MultibindingsScanner
Returns a ModuleAnnotatedMethodScanner that, when bound, will scan all modules for methods with the annotations @ProvidesIntoMap, @ProvidesIntoSet, and @ProvidesIntoOptional.
setBinding() - Method in class com.google.inject.multibindings.OptionalBinder
Returns a binding builder used to set the actual value that will be injected.
setDefault() - Method in class com.google.inject.multibindings.OptionalBinder
Returns a binding builder used to set the default value that will be injected.
StringMapKey - Annotation Type in com.google.inject.multibindings
Allows @ProvidesIntoMap to specify a string map key.

V

valueOf(String) - Static method in enum com.google.inject.multibindings.ProvidesIntoOptional.Type
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.google.inject.multibindings.ProvidesIntoOptional.Type
Returns an array containing the constants of this enum type, in the order they are declared.
visit(MultibinderBinding<? extends T>) - Method in interface com.google.inject.multibindings.MultibindingsTargetVisitor
Visits a binding created through Multibinder.
visit(MapBinderBinding<? extends T>) - Method in interface com.google.inject.multibindings.MultibindingsTargetVisitor
Visits a binding created through MapBinder.
visit(OptionalBinderBinding<? extends T>) - Method in interface com.google.inject.multibindings.MultibindingsTargetVisitor
Visits a binding created through OptionalBinder.
A C G M N O P S V 

Copyright © 2006-2015 Google, Inc.. All Rights Reserved.