Package | Description |
---|---|
org.elasticsearch.common.inject |
Google Guice (pronounced "juice") is an ultra-lightweight dependency
injection framework.
|
org.elasticsearch.common.inject.binder |
Interfaces which make up
Binder 's
expression language. |
org.elasticsearch.common.inject.internal |
Guice (sounds like like "juice")
|
org.elasticsearch.common.inject.multibindings |
Extension for binding multiple instances in a collection; this extension requires
guice-multibindings-2.0.jar . |
Modifier and Type | Method and Description |
---|---|
<T> LinkedBindingBuilder<T> |
Binder.bind(Key<T> key)
See the EDSL examples at
Binder . |
protected <T> LinkedBindingBuilder<T> |
PrivateModule.bind(Key<T> key) |
protected <T> LinkedBindingBuilder<T> |
AbstractModule.bind(Key<T> key) |
Modifier and Type | Interface and Description |
---|---|
interface |
AnnotatedBindingBuilder<T>
See the EDSL examples at
Binder . |
Modifier and Type | Method and Description |
---|---|
LinkedBindingBuilder<T> |
AnnotatedBindingBuilder.annotatedWith(Annotation annotation)
See the EDSL examples at
Binder . |
LinkedBindingBuilder<T> |
AnnotatedBindingBuilder.annotatedWith(Class<? extends Annotation> annotationType)
See the EDSL examples at
Binder . |
Modifier and Type | Class and Description |
---|---|
class |
BindingBuilder<T>
Bind a non-constant key.
|
Modifier and Type | Method and Description |
---|---|
abstract LinkedBindingBuilder<T> |
Multibinder.addBinding()
Returns a binding builder used to add a new element in the set.
|
abstract LinkedBindingBuilder<V> |
MapBinder.addBinding(K key)
Returns a binding builder used to add a new entry in the map.
|
Copyright © 2009–2015. All rights reserved.