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
.ScopedBindingBuilder toProvider(Provider<? extends T> provider)
Binder
.ScopedBindingBuilder toProvider(javax.inject.Provider<? extends T> provider)
Binder
.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-2014 Google, Inc.. All Rights Reserved.