ComponentFactory

class ComponentFactory(val build: (ComponentFactoryContainer) -> Any, val producesSingleton: Boolean)(source)

Provides a build lambda which produces the component and specifies via producesSingleton whether this component should be treated as singleton or not.

Since

2.0.0

Copied from Atrium.

Constructors

Link copied to clipboard
constructor(build: (ComponentFactoryContainer) -> Any, producesSingleton: Boolean)

Properties

Link copied to clipboard
Link copied to clipboard