PrototypeService

class PrototypeService<R>(val key: TypeKey<R>, factory: GFactory<R>) : UnboundService<R> (source)

Constructors

Link copied to clipboard
constructor(key: TypeKey<R>, factory: GFactory<R>)

Properties

Link copied to clipboard
open override 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
open override val scope: Qualifier

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

Functions

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

Returns a BoundService for this UnboundService.

Link copied to clipboard