public interface LinkedBindingBuilder<T> extends ScopedBindingBuilder
Binder
.Modifier and Type | Method and Description |
---|---|
ScopedBindingBuilder |
to(Class<? extends T> implementation)
See the EDSL examples at
Binder . |
ScopedBindingBuilder |
to(Key<? extends T> targetKey)
See the EDSL examples at
Binder . |
ScopedBindingBuilder |
to(TypeLiteral<? extends T> implementation)
See the EDSL examples at
Binder . |
<S extends T> |
toConstructor(Constructor<S> constructor)
See the EDSL examples at
Binder . |
<S extends T> |
toConstructor(Constructor<S> constructor,
TypeLiteral<? extends S> type)
See the EDSL examples at
Binder . |
void |
toInstance(T instance)
See the EDSL examples at
Binder . |
ScopedBindingBuilder |
toProvider(Class<? extends javax.inject.Provider<? extends T>> providerType)
See the EDSL examples at
Binder . |
ScopedBindingBuilder |
toProvider(Key<? extends javax.inject.Provider<? extends T>> providerKey)
See the EDSL examples at
Binder . |
ScopedBindingBuilder |
toProvider(Provider<? extends T> provider)
See the EDSL examples at
Binder . |
ScopedBindingBuilder |
toProvider(javax.inject.Provider<? extends T> provider)
See the EDSL examples at
Binder . |
ScopedBindingBuilder |
toProvider(TypeLiteral<? extends javax.inject.Provider<? extends T>> providerType)
See the EDSL examples at
Binder . |
asEagerSingleton, in, in
ScopedBindingBuilder to(Class<? extends T> implementation)
Binder
.ScopedBindingBuilder to(TypeLiteral<? extends T> implementation)
Binder
.ScopedBindingBuilder to(Key<? extends T> targetKey)
Binder
.void toInstance(T instance)
Binder
.Injector.injectMembers(java.lang.Object)
ScopedBindingBuilder toProvider(Provider<? extends T> provider)
Binder
.Injector.injectMembers(java.lang.Object)
ScopedBindingBuilder toProvider(javax.inject.Provider<? extends T> provider)
Binder
.Injector.injectMembers(java.lang.Object)
ScopedBindingBuilder toProvider(Class<? extends javax.inject.Provider<? extends T>> providerType)
Binder
.ScopedBindingBuilder toProvider(TypeLiteral<? extends javax.inject.Provider<? extends T>> providerType)
Binder
.ScopedBindingBuilder toProvider(Key<? extends javax.inject.Provider<? extends T>> providerKey)
Binder
.<S extends T> ScopedBindingBuilder toConstructor(Constructor<S> constructor)
Binder
.<S extends T> ScopedBindingBuilder toConstructor(Constructor<S> constructor, TypeLiteral<? extends S> type)
Binder
.Copyright © 2006–2018 Google, Inc.. All rights reserved.