com.google.inject.Binder .
| Modifier and Type | Method and Description |
|---|---|
| public ScopedBindingBuilder | |
| public ScopedBindingBuilder | |
| public ScopedBindingBuilder | |
| public <S extends T> ScopedBindingBuilder | |
| public <S extends T> ScopedBindingBuilder | toConstructor(Constructor<S> constructor, TypeLiteral<? extends S> type)
See the EDSL examples at |
| public void | |
| public ScopedBindingBuilder | |
| public ScopedBindingBuilder | |
| public ScopedBindingBuilder | toProvider(Class<? extends Provider<? extends T>> providerType)
See the EDSL examples at |
| public ScopedBindingBuilder | toProvider(TypeLiteral<? extends Provider<? extends T>> providerType)
See the EDSL examples at |
| public ScopedBindingBuilder | toProvider(Key<? extends Provider<? extends T>> providerKey)
See the EDSL examples at |
| to | back to summary |
|---|---|
| public ScopedBindingBuilder to(Class<? extends T> implementation) See the EDSL examples at | |
| to | back to summary |
|---|---|
| public ScopedBindingBuilder to(TypeLiteral<? extends T> implementation) See the EDSL examples at | |
| to | back to summary |
|---|---|
| public ScopedBindingBuilder to(Key<? extends T> targetKey) See the EDSL examples at | |
| toConstructor | back to summary |
|---|---|
| public <S extends T> ScopedBindingBuilder toConstructor(Constructor<S> constructor) See the EDSL examples at
| |
| toConstructor | back to summary |
|---|---|
| public <S extends T> ScopedBindingBuilder toConstructor(Constructor<S> constructor, TypeLiteral<? extends S> type) See the EDSL examples at
| |
| toInstance | back to summary |
|---|---|
| public void toInstance(T instance) See the EDSL examples at | |
| toProvider | back to summary |
|---|---|
| public ScopedBindingBuilder toProvider(Provider<? extends T> provider) See the EDSL examples at | |
| toProvider | back to summary |
|---|---|
| public ScopedBindingBuilder toProvider(Provider<? extends T> provider) See the EDSL examples at
| |
| toProvider | back to summary |
|---|---|
| public ScopedBindingBuilder toProvider(Class<? extends Provider<? extends T>> providerType) See the EDSL examples at | |
| toProvider | back to summary |
|---|---|
| public ScopedBindingBuilder toProvider(TypeLiteral<? extends Provider<? extends T>> providerType) See the EDSL examples at | |
| toProvider | back to summary |
|---|---|
| public ScopedBindingBuilder toProvider(Key<? extends Provider<? extends T>> providerKey) See the EDSL examples at | |