public class InjectionProvider<T>
Provides a factory that performs dependency injection into constructors.
| Constructor and Description |
|---|
InjectionProvider(kotlin.reflect.KClass<T> type,
com.github.salomonbrys.kodein.TypeToken<T> createdType)
Provides a factory that performs dependency injection into constructors.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
factoryFullName() |
java.lang.String |
factoryName() |
com.github.salomonbrys.kodein.TypeToken<? super kotlin.Unit> |
getArgType() |
com.github.salomonbrys.kodein.TypeToken<T> |
getCreatedType() |
java.lang.String |
getDescription() |
java.lang.String |
getFullDescription() |
T |
getInstance(com.github.salomonbrys.kodein.bindings.NoArgBindingKodein kodein,
com.github.salomonbrys.kodein.Kodein.Key<kotlin.Unit,? extends T> key) |
T |
getInstance(com.github.salomonbrys.kodein.bindings.BindingKodein kodein,
com.github.salomonbrys.kodein.Kodein.Key<kotlin.Unit,? extends T> key,
kotlin.Unit arg) |
kotlin.reflect.KClass<T> |
getType() |
public InjectionProvider(kotlin.reflect.KClass<T> type,
com.github.salomonbrys.kodein.TypeToken<T> createdType)
Provides a factory that performs dependency injection into constructors.
public T getInstance(com.github.salomonbrys.kodein.bindings.NoArgBindingKodein kodein,
com.github.salomonbrys.kodein.Kodein.Key<kotlin.Unit,? extends T> key)
public java.lang.String factoryName()
public java.lang.String getDescription()
public java.lang.String getFullDescription()
public kotlin.reflect.KClass<T> getType()
public com.github.salomonbrys.kodein.TypeToken<T> getCreatedType()
public T getInstance(com.github.salomonbrys.kodein.bindings.BindingKodein kodein,
com.github.salomonbrys.kodein.Kodein.Key<kotlin.Unit,? extends T> key,
kotlin.Unit arg)
public com.github.salomonbrys.kodein.TypeToken<? super kotlin.Unit> getArgType()
public java.lang.String factoryFullName()