DynamicSupplier

@InterfacedService(acceptMultiple = true)
interface DynamicSupplier(source)

Interface to supply services of the requested type.

Usage: Register your instance as a service with @BService or any annotation that enables your class for dependency injection.

See also

@InterfacedService

Types

Link copied to clipboard

Functions

Link copied to clipboard
abstract fun get(clazz: KClass<*>, name: String?): Any

Returns an instance of the requested service.

Link copied to clipboard

Returns the instantiability status of the requested service.