guice-multibindings.jar.
| Modifier and Type | Interface and Description |
|---|---|
| public interface | MapBinderBinding<
The fully qualified type of the map, including Map. For example: T>MapBinderBinding<Map<String, Snack>>A binding for a MapBinder. |
| public interface | MultibinderBinding<
The fully qualified type of the set, including Set. For example: T>MultibinderBinding<Set<Boolean>>A binding for a Multibinder. |
| public interface | |
| public interface | OptionalBinderBinding<
The fully qualified type of the optional binding, including Optional. For example:
T>Optional<String>.A binding for a OptionalBinder. |
| Modifier and Type | Annotation and Description |
|---|---|
| public @interface | ClassMapKey
Allows @ |
| public @interface | MapKey
Allows users define customized key type annotations for map bindings by annotating an annotation
of a |
| public @interface | |
| public @interface | ProvidesIntoOptional
Annotates methods of a |
| public @interface | ProvidesIntoSet
Annotates methods of a |
| public @interface | StringMapKey
Allows @ |
| Modifier and Type | Class and Description |
|---|---|
| public class | MapBinder<K, V>
An API to bind multiple map entries separately, only to later inject them as a complete map. |
| public class | Multibinder<T>
An API to bind multiple values separately, only to later inject them as a complete collection. |
| public class | MultibindingsScanner
Deprecated
This functionality is installed by default. All references to this can be safely
removed. This class will be removed in Guice 4.4
Scans a module for annotations that signal multibindings, mapbindings, and optional bindings.
|
| public class |