UnboundService

interface UnboundService<R>(source)

Interface for service entries registered in a io.jentz.winter.Component.

Custom implementations can be added to a io.jentz.winter.Component by using io.jentz.winter.Component.Builder.register.

Inheritors

Properties

Link copied to clipboard
abstract val key: TypeKey<R>

The TypeKey of the type this service is providing.

Link copied to clipboard

Return true if the bound service requires a call to BoundService.onPostConstruct after constructing.

Link copied to clipboard
abstract val scope: Qualifier

A scope that is unique for this type of service e.g. Prototype/Singleton.

Functions

Link copied to clipboard
abstract fun bind(graph: Graph): BoundService<R>

Returns a BoundService for this UnboundService.