InstanceSupplier

Supplier used to provide the actual instance when needed.

Parameters

<T>

the instance type

See also

Functions

Link copied to clipboard
Factory method that can be used to create an InstanceSupplier from a Supplier.
Link copied to clipboard
abstract fun get(context: BootstrapContext): T
Factory method used to create the instance when needed.
Link copied to clipboard
Return the scope of the supplied instance.
Link copied to clipboard
open fun <T> of(instance: T): BootstrapRegistry.InstanceSupplier<T>
Factory method that can be used to create an InstanceSupplier for a given instance.
Link copied to clipboard