public class KodeinJIT
Injector that allows to build objects just-in-time.
| Modifier and Type | Class and Description |
|---|---|
static class |
KodeinJIT.Companion |
| Modifier and Type | Field and Description |
|---|---|
static KodeinJIT.Companion |
Companion |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
newInstance(java.lang.Class<T> cls)
Creates a new instance of the given class.
|
static KodeinJIT |
of(org.kodein.di.Kodein kodein)
Utility function that eases the retrieval of a
class KodeinJIT. |
static KodeinJIT |
of(org.kodein.di.DKodein kodein)
Utility function that eases the retrieval of a
class KodeinJIT. |
public static KodeinJIT.Companion Companion
public <T> T newInstance(java.lang.Class<T> cls)
Creates a new instance of the given class.
cls - The type of object to create.public static KodeinJIT of(org.kodein.di.Kodein kodein)
Utility function that eases the retrieval of a class KodeinJIT.
class KodeinJITpublic static KodeinJIT of(org.kodein.di.DKodein kodein)
Utility function that eases the retrieval of a class KodeinJIT.
class KodeinJIT