Package org. kodein. di. bindings
Types
ArgSetBinding
Link copied to clipboard
ContextTranslator
Link copied to clipboard
EagerSingleton
Link copied to clipboard
class EagerSingleton<T : Any>(builder: DIContainer.Builder, createdType: TypeToken<out T>, creator: NoArgBindingDI<Any>.() -> T) : NoArgDIBinding<Any, T>
Content copied to clipboard
ErasedContext
Link copied to clipboard
ExternalSource
Link copied to clipboard
interface ExternalSource
Content copied to clipboard
Factory
Link copied to clipboard
InstanceBinding
Link copied to clipboard
class InstanceBinding<T : Any>(createdType: TypeToken<out T>, instance: T) : NoArgDIBinding<Any, T>
Content copied to clipboard
Multiton
Link copied to clipboard
NoArgBindingDI
Link copied to clipboard
Provider
Link copied to clipboard
Scope
Link copied to clipboard
A scope is an object that can return (or create) a ScopeRegistry according to a context.
ScopeCloseable
Link copied to clipboard
interface ScopeCloseable
Content copied to clipboard
ScopeRegistry
Link copied to clipboard
SetBinding
Link copied to clipboard
SimpleAutoContextTranslator
Link copied to clipboard
class SimpleAutoContextTranslator<S : Any>(scopeType: TypeToken<in S>, t: DirectDI.() -> S) : ContextTranslator<Any, S>
Content copied to clipboard
SimpleContextTranslator
Link copied to clipboard
SingleItemScopeRegistry
Link copied to clipboard
Singleton
Link copied to clipboard
SingletonReference
Link copied to clipboard
StandardScopeRegistry
Link copied to clipboard
SubTypes
Link copied to clipboard
TypeBinderInSet
Link copied to clipboard
TypeBinderSubTypes
Link copied to clipboard
UnboundedScope
Link copied to clipboard
open class UnboundedScope(registry: ScopeRegistry) : Scope<Any?> , ScopeCloseable
Content copied to clipboard
Scope that is not bound to a context (always lives).
WeakContextScope
Link copied to clipboard
open class WeakContextScope<in C>(newRepo: () -> ScopeRegistry) : Scope<C>
Content copied to clipboard
Scope that map scope registries associated to weak contexts.
WithContext
Link copied to clipboard
Functions
externalFactory
Link copied to clipboard
Simple function that types a lambda as a factory function that can be used as the return in the implementation of ExternalSource.getFactory.
subTypes
Link copied to clipboard
toKContext
Link copied to clipboard