Package | Description |
---|---|
org.elasticsearch.common.inject |
Google Guice (pronounced "juice") is an ultra-lightweight dependency
injection framework.
|
org.elasticsearch.common.inject.internal |
Guice (sounds like like "juice")
|
org.elasticsearch.common.inject.spi |
Guice service provider interface
|
Modifier and Type | Interface and Description |
---|---|
interface |
Binding<T>
A mapping from a key (type and optional annotation) to the strategy for getting instances of the
type.
|
Modifier and Type | Class and Description |
---|---|
class |
BindingImpl<T> |
class |
ExposedBindingImpl<T> |
class |
InstanceBindingImpl<T> |
class |
LinkedBindingImpl<T> |
class |
LinkedProviderBindingImpl<T> |
class |
PrivateElementsImpl |
class |
ProviderInstanceBindingImpl<T> |
class |
UntargettedBindingImpl<T> |
Modifier and Type | Field and Description |
---|---|
protected List<Element> |
AbstractBindingBuilder.elements |
Modifier and Type | Method and Description |
---|---|
List<Element> |
PrivateElementsImpl.getElements() |
List<Element> |
PrivateElementsImpl.getElementsMutable() |
Constructor and Description |
---|
AbstractBindingBuilder(Binder binder,
List<Element> elements,
Object source,
Key<T> key) |
BindingBuilder(Binder binder,
List<Element> elements,
Object source,
Key<T> key) |
ConstantBindingBuilderImpl(Binder binder,
List<Element> elements,
Object source) |
Modifier and Type | Interface and Description |
---|---|
interface |
ConstructorBinding<T>
A binding to the constructor of a concrete clss.
|
interface |
ConvertedConstantBinding<T>
A binding created from converting a bound instance to a new type.
|
interface |
ExposedBinding<T>
A binding to a key exposed from an enclosed private environment.
|
interface |
InstanceBinding<T>
A binding to a single instance.
|
interface |
LinkedKeyBinding<T>
A binding to a linked key.
|
interface |
PrivateElements
A private collection of elements that are hidden from the enclosing injector or module by
default.
|
interface |
ProviderBinding<T extends Provider<?>>
A binding to a
Provider that delegates to the binding for the provided type. |
interface |
ProviderInstanceBinding<T>
A binding to a provider instance.
|
interface |
ProviderKeyBinding<T>
A binding to a provider key.
|
interface |
UntargettedBinding<T>
An untargetted binding.
|
Modifier and Type | Class and Description |
---|---|
class |
InjectionRequest<T>
A request to inject the instance fields and methods of an instance.
|
class |
MembersInjectorLookup<T>
A lookup of the members injector for a type.
|
class |
Message
An error message and the context in which it occurred.
|
class |
ProviderLookup<T>
A lookup of the provider for a type.
|
class |
ScopeBinding
Registration of a scope annotation with the scope that implements it.
|
class |
StaticInjectionRequest
A request to inject the static fields and methods of a type.
|
class |
TypeConverterBinding
Registration of type converters for matching target types.
|
class |
TypeListenerBinding
Binds types (picked using a Matcher) to an type listener.
|
Modifier and Type | Method and Description |
---|---|
List<Element> |
PrivateElements.getElements()
Returns the configuration information in this private environment.
|
static List<Element> |
Elements.getElements(Iterable<? extends Module> modules)
Records the elements executed by
modules . |
static List<Element> |
Elements.getElements(Module... modules)
Records the elements executed by
modules . |
static List<Element> |
Elements.getElements(Stage stage,
Iterable<? extends Module> modules)
Records the elements executed by
modules . |
static List<Element> |
Elements.getElements(Stage stage,
Module... modules)
Records the elements executed by
modules . |
Modifier and Type | Method and Description |
---|---|
protected V |
DefaultElementVisitor.visitOther(Element element)
Default visit implementation.
|
Modifier and Type | Method and Description |
---|---|
static Module |
Elements.getModule(Iterable<? extends Element> elements)
Returns the module composed of
elements . |
Copyright © 2009–2016. All rights reserved.