Package com.google.inject.multibindings
package com.google.inject.multibindings
Extension for binding multiple instances in a collection; this extension requires
guice-multibindings.jar
.-
ClassDescriptionAllows @
ProvidesIntoMap
to specify a class map key.MapBinder<K,V> An API to bind multiple map entries separately, only to later inject them as a complete map.A binding for a MapBinder.Allows users define customized key type annotations for map bindings by annotating an annotation of aMap
's key type.Multibinder<T>An API to bind multiple values separately, only to later inject them as a complete collection.A binding for a Multibinder.Deprecated.This functionality is installed by default.A visitor for the multibinder extension.An API to bind optional values, optionally with a default value.A binding for a OptionalBinder.Annotates methods of aModule
to add items to aMultibinder
.Annotates methods of aModule
to add items to aMultibinder
.Allows @ProvidesIntoMap
to specify a string map key.