|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Multibinder | |
|---|---|
| com.google.inject.multibindings | Extension for binding multiple instances in a collection; this extension requires guice-multibindings-3.0.jar. |
| Uses of Multibinder in com.google.inject.multibindings |
|---|
| Methods in com.google.inject.multibindings that return Multibinder | ||
|---|---|---|
static
|
Multibinder.newSetBinder(Binder binder,
java.lang.Class<T> type)
Returns a new multibinder that collects instances of type in a Set that is
itself bound with no binding annotation. |
|
static
|
Multibinder.newSetBinder(Binder binder,
java.lang.Class<T> type,
java.lang.annotation.Annotation annotation)
Returns a new multibinder that collects instances of type in a Set that is
itself bound with annotation. |
|
static
|
Multibinder.newSetBinder(Binder binder,
java.lang.Class<T> type,
java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Returns a new multibinder that collects instances of type in a Set that is
itself bound with annotationType. |
|
static
|
Multibinder.newSetBinder(Binder binder,
TypeLiteral<T> type)
Returns a new multibinder that collects instances of type in a Set that is
itself bound with no binding annotation. |
|
static
|
Multibinder.newSetBinder(Binder binder,
TypeLiteral<T> type,
java.lang.annotation.Annotation annotation)
Returns a new multibinder that collects instances of type in a Set that is
itself bound with annotation. |
|
static
|
Multibinder.newSetBinder(Binder binder,
TypeLiteral<T> type,
java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Returns a new multibinder that collects instances of type in a Set that is
itself bound with annotationType. |
|
abstract Multibinder<T> |
Multibinder.permitDuplicates()
Configures the bound set to silently discard duplicate elements. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||