Default Service Container
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Filters out interfaced services of that type if they are already being inspected.
Link copied to clipboard
Filters out interfaced services of that type if they are already being inspected.
Link copied to clipboard
Link copied to clipboard
abstract fun getServiceNamesForAnnotation(annotationType: KClass<out Annotation>): Collection<String>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <R : Any, U : R> ServiceContainer.lazyOrElse(name: String, crossinline block: () -> U): Lazy<R>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun <T : Any> putService(t: T, clazz: KClass<out T>, name: String? = null, isPrimary: Boolean = false, priority: Int = 0, annotations: Collection<Annotation> = emptySet(), typeAliases: Set<KClass<*>> = emptySet())
Link copied to clipboard
Link copied to clipboard
inline fun <T : Any> DefaultServiceContainer.putServiceAs(t: T, name: String? = null, isPrimary: Boolean = false, priority: Int = 0, typeAliases: Set<KClass<*>> = emptySet(), annotations: Collection<Annotation> = emptySet())
Link copied to clipboard
inline fun <A : Any> DefaultServiceContainer.putServiceWithTypeAlias(t: Any, name: String? = null, isPrimary: Boolean = false, priority: Int = 0, annotations: Collection<Annotation> = emptySet())
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard