Package-level declarations
Types
Link copied to clipboard
interface ClassGraphProcessor
Link copied to clipboard
interface ConditionalServiceChecker
One of the conditions required for a ConditionalService to be instantiated.
Link copied to clipboard
Defines custom conditions used while checking service instantiability.
Link copied to clipboard
Link copied to clipboard
Supplies an instance of the registered type.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class ServiceError
Link copied to clipboard
Link copied to clipboard
class ServiceSupplier<T : Any> @JvmOverloads constructor(val primaryType: KClass<T>, val name: String = defaultName(primaryType), val additionalTypes: Set<KClass<in T>> = emptySet(), val isPrimary: Boolean = false, val isLazy: Boolean = false, val priority: Int = 0, val annotations: List<Annotation> = emptyList(), val supplier: (BContext) -> T)
Represents the attributes and initializer of a given service type.
Functions
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
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
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