Package com.google.inject.binder
Interface LinkedBindingBuilder<T>
- All Superinterfaces:
ScopedBindingBuilder
- All Known Subinterfaces:
AnnotatedBindingBuilder<T>
- All Known Implementing Classes:
BindingBuilder
See the EDSL examples at
Binder
.- Author:
- crazybob@google.com (Bob Lee)
-
Method Summary
Modifier and TypeMethodDescriptionSee the EDSL examples atBinder
.to
(TypeLiteral<? extends T> implementation) See the EDSL examples atBinder
.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
.void
toInstance
(T instance) See the EDSL examples atBinder
.toProvider
(Key<? extends javax.inject.Provider<? extends T>> providerKey) See the EDSL examples atBinder
.toProvider
(Provider<? extends T> provider) See the EDSL examples atBinder
.toProvider
(TypeLiteral<? extends javax.inject.Provider<? extends T>> providerType) See the EDSL examples atBinder
.toProvider
(Class<? extends javax.inject.Provider<? extends T>> providerType) See the EDSL examples atBinder
.toProvider
(javax.inject.Provider<? extends T> provider) See the EDSL examples atBinder
.Methods inherited from interface com.google.inject.binder.ScopedBindingBuilder
asEagerSingleton, in, in
-
Method Details
-
to
See the EDSL examples atBinder
. -
to
See the EDSL examples atBinder
. -
to
See the EDSL examples atBinder
. -
toInstance
See the EDSL examples atBinder
.- See Also:
-
toProvider
See the EDSL examples atBinder
.- See Also:
-
toProvider
See the EDSL examples atBinder
.- Since:
- 4.0
- See Also:
-
toProvider
See the EDSL examples atBinder
. -
toProvider
ScopedBindingBuilder toProvider(TypeLiteral<? extends javax.inject.Provider<? extends T>> providerType) See the EDSL examples atBinder
. -
toProvider
See the EDSL examples atBinder
. -
toConstructor
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
-