Module org.elasticsearch.server
Class BindingBuilder<T>
java.lang.Object
org.elasticsearch.injection.guice.internal.AbstractBindingBuilder<T>
org.elasticsearch.injection.guice.internal.BindingBuilder<T>
- All Implemented Interfaces:
AnnotatedBindingBuilder<T>,LinkedBindingBuilder<T>,ScopedBindingBuilder
public class BindingBuilder<T>
extends AbstractBindingBuilder<T>
implements AnnotatedBindingBuilder<T>
Bind a non-constant key.
-
Field Summary
Fields inherited from class org.elasticsearch.injection.guice.internal.AbstractBindingBuilder
binder, BINDING_TO_NULL, elements, IMPLEMENTATION_ALREADY_SET, position, SCOPE_ALREADY_SET, SINGLE_INSTANCE_AND_SCOPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSee the EDSL examples atBinder.voidtoInstance(T instance) See the EDSL examples atBinder.toProvider(Provider<? extends T> provider) See the EDSL examples atBinder.toString()Methods inherited from class org.elasticsearch.injection.guice.internal.AbstractBindingBuilder
asEagerSingleton, checkNotScoped, checkNotTargetted, getBinding, setBindingMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.injection.guice.binder.ScopedBindingBuilder
asEagerSingleton
-
Constructor Details
-
BindingBuilder
-
-
Method Details
-
to
Description copied from interface:LinkedBindingBuilderSee the EDSL examples atBinder.- Specified by:
toin interfaceLinkedBindingBuilder<T>
-
toInstance
Description copied from interface:LinkedBindingBuilderSee the EDSL examples atBinder.- Specified by:
toInstancein interfaceLinkedBindingBuilder<T>
-
toProvider
Description copied from interface:LinkedBindingBuilderSee the EDSL examples atBinder.- Specified by:
toProviderin interfaceLinkedBindingBuilder<T>
-
toString
-