Interface LinkedBindingBuilder<T>
-
- All Superinterfaces:
ScopedBindingBuilder
- All Known Subinterfaces:
AnnotatedBindingBuilder<T>
- All Known Implementing Classes:
BindingBuilder
public interface LinkedBindingBuilder<T> extends ScopedBindingBuilder
See the EDSL examples atBinder
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ScopedBindingBuilder
to(java.lang.Class<? extends T> implementation)
See the EDSL examples atBinder
.ScopedBindingBuilder
to(Key<? extends T> targetKey)
See the EDSL examples atBinder
.ScopedBindingBuilder
to(TypeLiteral<? extends T> implementation)
See the EDSL examples atBinder
.void
toInstance(T instance)
See the EDSL examples atBinder
.ScopedBindingBuilder
toProvider(java.lang.Class<? extends Provider<? extends T>> providerType)
See the EDSL examples atBinder
.ScopedBindingBuilder
toProvider(Key<? extends Provider<? extends T>> providerKey)
See the EDSL examples atBinder
.ScopedBindingBuilder
toProvider(Provider<? extends T> provider)
See the EDSL examples atBinder
.-
Methods inherited from interface org.elasticsearch.common.inject.binder.ScopedBindingBuilder
asEagerSingleton, in, in
-
-
-
-
Method Detail
-
to
ScopedBindingBuilder to(java.lang.Class<? extends T> implementation)
See the EDSL examples atBinder
.
-
to
ScopedBindingBuilder to(TypeLiteral<? extends T> implementation)
See the EDSL examples atBinder
.
-
to
ScopedBindingBuilder to(Key<? extends T> targetKey)
See the EDSL examples atBinder
.
-
toInstance
void toInstance(T instance)
See the EDSL examples atBinder
.- See Also:
Injector.injectMembers(java.lang.Object)
-
toProvider
ScopedBindingBuilder toProvider(Provider<? extends T> provider)
See the EDSL examples atBinder
.- See Also:
Injector.injectMembers(java.lang.Object)
-
toProvider
ScopedBindingBuilder toProvider(java.lang.Class<? extends Provider<? extends T>> providerType)
See the EDSL examples atBinder
.
-
toProvider
ScopedBindingBuilder toProvider(Key<? extends Provider<? extends T>> providerKey)
See the EDSL examples atBinder
.
-
-