default <T> BindingsSpec |
BindingsSpec.bind(com.google.common.reflect.TypeToken<T> publicType,
Class<? extends T> implType) |
|
default <T> BindingsSpec |
BindingsSpec.bind(com.google.inject.TypeLiteral<T> publicType,
Class<? extends T> implType) |
|
default BindingsSpec |
BindingsSpec.bind(Class<?> type) |
Add a binding for the given type.
|
default <T> BindingsSpec |
BindingsSpec.bind(Class<T> publicType,
Class<? extends T> implType) |
Add a binding for the given public type, to the given implementation type.
|
BindingsSpec |
BindingsSpec.binder(Action<? super com.google.inject.Binder> action) |
Adds bindings by directly configuring a Binder .
|
default <T> BindingsSpec |
BindingsSpec.bindInstance(com.google.common.reflect.TypeToken<? super T> publicType,
T instance) |
|
default <T> BindingsSpec |
BindingsSpec.bindInstance(com.google.inject.TypeLiteral<? super T> publicType,
T instance) |
Add a binding for the given public type, to the given implementing instance.
|
default <T> BindingsSpec |
BindingsSpec.bindInstance(Class<? super T> publicType,
T instance) |
|
default <T> BindingsSpec |
BindingsSpec.bindInstance(T instance) |
Add a binding for the given object to its concrete type.
|
BindingsSpec |
BindingsSpec.module(com.google.inject.Module module) |
Adds the bindings from the given module.
|
BindingsSpec |
BindingsSpec.module(Class<? extends com.google.inject.Module> moduleClass) |
Adds the bindings from the given module.
|
<C,T extends ConfigurableModule<C>> BindingsSpec |
BindingsSpec.module(Class<T> moduleClass,
Action<? super C> configurer) |
Adds the bindings from the given configurable module.
|
<C> BindingsSpec |
BindingsSpec.module(ConfigurableModule<C> module,
Action<? super C> configurer) |
Adds the bindings from the given configurable module.
|
default <C,T extends ConfigurableModule<C>> BindingsSpec |
BindingsSpec.moduleConfig(Class<T> moduleClass,
C config) |
|
<C,T extends ConfigurableModule<C>> BindingsSpec |
BindingsSpec.moduleConfig(Class<T> moduleClass,
C config,
Action<? super C> configurer) |
Adds the bindings from the given configurable module.
|
<C> BindingsSpec |
BindingsSpec.moduleConfig(ConfigurableModule<C> module,
C config,
Action<? super C> configurer) |
Adds the bindings from the given configurable module.
|
default <C,T extends ConfigurableModule<C>> BindingsSpec |
BindingsSpec.moduleConfig(T moduleClass,
C config) |
|
default <T> BindingsSpec |
BindingsSpec.multiBind(com.google.common.reflect.TypeToken<T> publicType,
Class<? extends T> implType) |
|
default <T> BindingsSpec |
BindingsSpec.multiBind(com.google.inject.TypeLiteral<T> publicType,
Class<? extends T> implType) |
|
default <T> BindingsSpec |
BindingsSpec.multiBind(Class<T> type) |
|
default <T> BindingsSpec |
BindingsSpec.multiBind(Class<T> publicType,
Class<? extends T> implType) |
|
default <T> BindingsSpec |
BindingsSpec.multiBinder(com.google.common.reflect.TypeToken<T> type,
Action<? super com.google.inject.multibindings.Multibinder<T>> action) |
|
default <T> BindingsSpec |
BindingsSpec.multiBinder(com.google.inject.TypeLiteral<T> type,
Action<? super com.google.inject.multibindings.Multibinder<T>> action) |
|
default <T> BindingsSpec |
BindingsSpec.multiBinder(Class<T> type,
Action<? super com.google.inject.multibindings.Multibinder<T>> action) |
|
default <T> BindingsSpec |
BindingsSpec.multiBindInstance(com.google.common.reflect.TypeToken<T> publicType,
T instance) |
|
default <T> BindingsSpec |
BindingsSpec.multiBindInstance(com.google.inject.TypeLiteral<T> publicType,
T instance) |
|
default <T> BindingsSpec |
BindingsSpec.multiBindInstance(Class<T> publicType,
T instance) |
|
default <T> BindingsSpec |
BindingsSpec.multiBindInstance(T instance) |
|
default <T> BindingsSpec |
BindingsSpec.multiBindProvider(com.google.common.reflect.TypeToken<T> publicType,
com.google.inject.Provider<? extends T> provider) |
|
default <T> BindingsSpec |
BindingsSpec.multiBindProvider(com.google.inject.TypeLiteral<T> publicType,
com.google.inject.Provider<? extends T> provider) |
|
default <T> BindingsSpec |
BindingsSpec.multiBindProvider(Class<T> publicType,
com.google.inject.Provider<? extends T> provider) |
|
default <T> BindingsSpec |
BindingsSpec.multiBindProviderType(Class<T> publicType,
Class<? extends com.google.inject.Provider<? extends T>> providerType) |
|
default <T> BindingsSpec |
BindingsSpec.provider(com.google.common.reflect.TypeToken<T> publicType,
com.google.inject.Provider<? extends T> provider) |
|
default <T> BindingsSpec |
BindingsSpec.provider(com.google.inject.TypeLiteral<T> publicType,
com.google.inject.Provider<? extends T> provider) |
Add a binding for the given public type, to the given provider.
|
default <T> BindingsSpec |
BindingsSpec.provider(Class<T> publicType,
com.google.inject.Provider<? extends T> provider) |
|
default <T> BindingsSpec |
BindingsSpec.providerType(com.google.common.reflect.TypeToken<T> publicType,
Class<? extends com.google.inject.Provider<? extends T>> providerType) |
|
default <T> BindingsSpec |
BindingsSpec.providerType(com.google.inject.TypeLiteral<T> publicType,
Class<? extends com.google.inject.Provider<? extends T>> providerType) |
Add a binding for the given public type, to the given provider type.
|
default <T> BindingsSpec |
BindingsSpec.providerType(Class<T> publicType,
Class<? extends com.google.inject.Provider<? extends T>> providerType) |
|