Package com.google.inject.binder
Interface LinkedBindingBuilder<T>
- 
- All Superinterfaces:
 ScopedBindingBuilder
- All Known Subinterfaces:
 AnnotatedBindingBuilder<T>
public interface LinkedBindingBuilder<T> extends ScopedBindingBuilder
See the EDSL examples atBinder. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ScopedBindingBuilderto(Key<? extends T> targetKey)See the EDSL examples atBinder.ScopedBindingBuilderto(TypeLiteral<? extends T> implementation)See the EDSL examples atBinder.ScopedBindingBuilderto(Class<? extends T> implementation)See the EDSL examples atBinder.<S extends T>
ScopedBindingBuildertoConstructor(Constructor<S> constructor)See the EDSL examples atBinder.<S extends T>
ScopedBindingBuildertoConstructor(Constructor<S> constructor, TypeLiteral<? extends S> type)See the EDSL examples atBinder.voidtoInstance(T instance)See the EDSL examples atBinder.ScopedBindingBuildertoProvider(Key<? extends jakarta.inject.Provider<? extends T>> providerKey)See the EDSL examples atBinder.ScopedBindingBuildertoProvider(Provider<? extends T> provider)See the EDSL examples atBinder.ScopedBindingBuildertoProvider(TypeLiteral<? extends jakarta.inject.Provider<? extends T>> providerType)See the EDSL examples atBinder.ScopedBindingBuildertoProvider(jakarta.inject.Provider<? extends T> provider)See the EDSL examples atBinder.ScopedBindingBuildertoProvider(Class<? extends jakarta.inject.Provider<? extends T>> providerType)See the EDSL examples atBinder.- 
Methods inherited from interface com.google.inject.binder.ScopedBindingBuilder
asEagerSingleton, in, in 
 - 
 
 - 
 
- 
- 
Method Detail
- 
to
ScopedBindingBuilder to(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(jakarta.inject.Provider<? extends T> provider)
See the EDSL examples atBinder.- Since:
 - 4.0
 - See Also:
 Injector.injectMembers(java.lang.Object)
 
- 
toProvider
ScopedBindingBuilder toProvider(Class<? extends jakarta.inject.Provider<? extends T>> providerType)
See the EDSL examples atBinder. 
- 
toProvider
ScopedBindingBuilder toProvider(TypeLiteral<? extends jakarta.inject.Provider<? extends T>> providerType)
See the EDSL examples atBinder. 
- 
toProvider
ScopedBindingBuilder toProvider(Key<? extends jakarta.inject.Provider<? extends T>> providerKey)
See the EDSL examples atBinder. 
- 
toConstructor
<S extends T> ScopedBindingBuilder toConstructor(Constructor<S> constructor)
See the EDSL examples atBinder.- Since:
 - 3.0
 
 
- 
toConstructor
<S extends T> ScopedBindingBuilder toConstructor(Constructor<S> constructor, TypeLiteral<? extends S> type)
See the EDSL examples atBinder.- Since:
 - 3.0
 
 
 - 
 
 -