Package org.kodein.di.jxinject

Types

Link copied to clipboard
annotation class ErasedBinding

Defines that this should be injected with the erased binding.

Link copied to clipboard
annotation class FactoryFun

Defines that the annotated Function1 is to be injected as a di factory.

Link copied to clipboard
object Jx

Utility function that eases the retrieval of a JxInjector.

Link copied to clipboard
class JxInjector

Injector that allows to inject instances that use javax.inject.* annotations.

Link copied to clipboard
annotation class OrNull

Defines that this should be null if there is no corresponding binding.

Link copied to clipboard
annotation class ProviderFun

Defines that the annotated Function0 is to be injected as a di provider.

Properties

Link copied to clipboard
val DI.jx: JxInjector

Utility function to retrieve a JxInjector.

val DirectDI.jx: JxInjector

Utility function to retrieve a JxInjector.

Link copied to clipboard
val jxInjectorModule: DI.Module

Module that must be imported in order to use JxInjector.