|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Binding | |
---|---|
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 |
Uses of Binding in org.elasticsearch.common.inject |
---|
Methods in org.elasticsearch.common.inject that return Binding | ||
---|---|---|
|
Injector.getBinding(Class<T> type)
Returns the binding for the given type. |
|
static Binding<?> |
Injectors.getBinding(Injector injector,
Key<?> key)
Returns the binding for the given key or null if there is no such binding |
|
|
Injector.getBinding(Key<T> key)
Returns the binding for the given injection key. |
Methods in org.elasticsearch.common.inject that return types with arguments of type Binding | ||
---|---|---|
|
Injector.findBindingsByType(TypeLiteral<T> type)
Returns all explicit bindings for type . |
|
Map<Key<?>,Binding<?>> |
Injector.getBindings()
Returns all explicit bindings. |
|
static Set<Binding<?>> |
Injectors.getBindingsOf(Injector injector,
Class<?> baseClass)
Returns a collection of all bindings of the given base type |
|
static Set<Binding<?>> |
Injectors.getBindingsOf(Injector injector,
Matcher<Class> matcher)
Returns a collection of all of the bindings matching the given matcher |
Uses of Binding in org.elasticsearch.common.inject.internal |
---|
Classes in org.elasticsearch.common.inject.internal that implement Binding | |
---|---|
class |
BindingImpl<T>
|
class |
ExposedBindingImpl<T>
|
class |
InstanceBindingImpl<T>
|
class |
LinkedBindingImpl<T>
|
class |
LinkedProviderBindingImpl<T>
|
class |
ProviderInstanceBindingImpl<T>
|
class |
UntargettedBindingImpl<T>
|
Uses of Binding in org.elasticsearch.common.inject.spi |
---|
Subinterfaces of Binding in org.elasticsearch.common.inject.spi | |
---|---|
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 |
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. |
Methods in org.elasticsearch.common.inject.spi with parameters of type Binding | ||
---|---|---|
|
ElementVisitor.visit(Binding<T> binding)
Visit a mapping from a key (type and optional annotation) to the strategy for getting instances of the type. |
|
|
DefaultElementVisitor.visit(Binding<T> binding)
|
|
protected V |
DefaultBindingTargetVisitor.visitOther(Binding<? extends T> binding)
Default visit implementation. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |