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