class DelegateNotifier
Internal KTP class that registers field injection delegates. The fields will be injected when calling {@link Scope#inject(Any)} with the object/entry point using field injection. |
|
sealed class DelegateProvider<T : Any>
Internal class to KTP that will create the appropriate InjectDelegate for a field injection. |
|
class EagerDelegate<T : Any> : InjectDelegate<T>
Delegate for fields that should be injected eagerly. |
|
class EagerDelegateProvider<T : Any> : DelegateProvider<T>
DelegateProvider for eager injections. |
|
sealed class InjectDelegate<T : Any>
Property delegate base class. It allows to delegate the creation of fields to KTP. A typical example is |
|
class LazyDelegate<T : Any> : InjectDelegate<T>
Delegate for fields that should be injected lazily. |
|
class LazyDelegateProvider<T : Any> : DelegateProvider<T>
DelegateProvider for provider injections. |
|
class ProviderDelegate<T : Any> : InjectDelegate<T>
Delegate for fields that should be injected as a provider. |
|
class ProviderDelegateProvider<T : Any> : DelegateProvider<T>
DelegateProvider for lazy injections. |
fun <T : Any> inject(): EagerDelegateProvider<T>fun <T : Any> inject(name: String): EagerDelegateProvider<T>fun <T : Any> inject(name: KClass<out Annotation>): EagerDelegateProvider<T> |
|
fun <T : Any> lazy(): LazyDelegateProvider<T>fun <T : Any> lazy(name: String): LazyDelegateProvider<T>fun <T : Any> lazy(name: KClass<out Annotation>): LazyDelegateProvider<T> |
|
fun <T : Any> provider(): ProviderDelegateProvider<T>fun <T : Any> provider(name: String): ProviderDelegateProvider<T>fun <T : Any> provider(name: KClass<out Annotation>): ProviderDelegateProvider<T> |