| パッケージ | 説明 |
|---|---|
| org.elasticsearch.common.inject.multibindings |
Extension for binding multiple instances in a collection; this extension requires
guice-multibindings-2.0.jar. |
| 修飾子とタイプ | クラスと説明 |
|---|---|
static class |
Multibinder.RealMultibinder<T>
The actual multibinder plays several roles:
As a Multibinder, it acts as a factory for LinkedBindingBuilders for
each of the set's elements.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
static <T> Multibinder<T> |
Multibinder.newSetBinder(Binder binder,
Class<T> type)
Returns a new multibinder that collects instances of
type in a Set that is
itself bound with no binding annotation. |
static <T> Multibinder<T> |
Multibinder.newSetBinder(Binder binder,
Class<T> type,
Annotation annotation)
Returns a new multibinder that collects instances of
type in a Set that is
itself bound with annotation. |
static <T> Multibinder<T> |
Multibinder.newSetBinder(Binder binder,
Class<T> type,
Class<? extends Annotation> annotationType)
Returns a new multibinder that collects instances of
type in a Set that is
itself bound with annotationType. |
static <T> Multibinder<T> |
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 <T> Multibinder<T> |
Multibinder.newSetBinder(Binder binder,
TypeLiteral<T> type,
Annotation annotation)
Returns a new multibinder that collects instances of
type in a Set that is
itself bound with annotation. |
static <T> Multibinder<T> |
Multibinder.newSetBinder(Binder binder,
TypeLiteral<T> type,
Class<? extends Annotation> annotationType)
Returns a new multibinder that collects instances of
type in a Set that is
itself bound with annotationType. |
Copyright © 2009–2016. All rights reserved.