Class AbstractBindingBuilder<T>

java.lang.Object
org.elasticsearch.common.inject.internal.AbstractBindingBuilder<T>
Direct Known Subclasses:
BindingBuilder, ConstantBindingBuilderImpl

public abstract class AbstractBindingBuilder<T> extends Object
Bind a value or constant.
  • Field Details

  • Constructor Details

  • Method Details

    • getBinding

      protected BindingImpl<T> getBinding()
    • setBinding

      protected BindingImpl<T> setBinding(BindingImpl<T> binding)
    • annotatedWithInternal

      protected BindingImpl<T> annotatedWithInternal(Class<? extends Annotation> annotationType)
      Sets the binding to a copy with the specified annotation on the bound key
    • annotatedWithInternal

      protected BindingImpl<T> annotatedWithInternal(Annotation annotation)
      Sets the binding to a copy with the specified annotation on the bound key
    • in

      public void in(Class<? extends Annotation> scopeAnnotation)
    • in

      public void in(Scope scope)
    • asEagerSingleton

      public void asEagerSingleton()
    • keyTypeIsSet

      protected boolean keyTypeIsSet()
    • checkNotTargetted

      protected void checkNotTargetted()
    • checkNotAnnotated

      protected void checkNotAnnotated()
    • checkNotScoped

      protected void checkNotScoped()