Packages

t

izumi.distage

InjectorFactory

trait InjectorFactory extends AnyRef

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. InjectorFactory
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def apply(): Injector[Identity]

    Create a new default Injector with izumi.fundamentals.platform.functional.Identity effect type

    Create a new default Injector with izumi.fundamentals.platform.functional.Identity effect type

    Use apply[F]() variant to specify a different effect type

  2. abstract def apply[F[_]](bootstrapBase: BootstrapContextModule = defaultBootstrap, bootstrapActivation: Activation = defaultBootstrapActivation, parent: Option[Locator] = None, overrides: Seq[BootstrapModule] = Nil)(implicit arg0: QuasiIO[F], arg1: TagK[F], arg2: DefaultModule[F]): Injector[F]

    Create a new Injector with custom parameters izumi.distage.model.definition.BootstrapContextModule

    Create a new Injector with custom parameters izumi.distage.model.definition.BootstrapContextModule

    F

    The effect type to use for effect and resource bindings and the result of izumi.distage.model.Injector#produce

    bootstrapBase

    Initial bootstrap context module, such as izumi.distage.bootstrap.BootstrapLocator.defaultBootstrap

    bootstrapActivation

    A map of axes of configuration to choices along these axes for the bootstrap environment. The passed activation will affect _only_ the bootstrapping of the Injector itself (see izumi.distage.bootstrap.BootstrapLocator). To set activation choices for subsequent injections, pass Activation to the methods of the created Injector

    parent

    If set, this locator will be used as parent for the bootstrap locator. Use this parameter if you want to reuse components from another injection BUT also want to recreate the bootstrap environment with new parameters. If you just want to reuse all components, including the bootstrap environment, use inherit

    overrides

    Overrides of Injector's own bootstrap environment - injector itself is constructed with DI. They can be used to customize the Injector, e.g. by adding members to izumi.distage.model.planning.PlanningHook Set.

  3. abstract def apply[F[_]](overrides: BootstrapModule*)(implicit arg0: QuasiIO[F], arg1: TagK[F], arg2: DefaultModule[F]): Injector[F]

    Create a new Injector

    Create a new Injector

    F

    the effect type to use for effect and resource bindings and the result of izumi.distage.model.Injector#produce

    overrides

    Optional: Overrides of Injector's own bootstrap environment - injector itself is constructed with DI. They can be used to customize the Injector, e.g. by adding members to izumi.distage.model.planning.PlanningHook Set.

  4. abstract def defaultBootstrap: BootstrapContextModule
    Attributes
    protected[this]
  5. abstract def defaultBootstrapActivation: Activation
    Attributes
    protected[this]
  6. abstract def inherit[F[_]](parent: Locator)(implicit arg0: QuasiIO[F], arg1: TagK[F]): Injector[F]

    Create a new injector inheriting configuration, hooks and the object graph from a previous injection.

    Create a new injector inheriting configuration, hooks and the object graph from a previous injection.

    F

    the effect type to use for effect and resource bindings and the result of izumi.distage.model.Injector#produce

    parent

    Instances from parent izumi.distage.model.Locator will be available as imports in new Injector's produce

  7. abstract def inheritWithNewDefaultModule[F[_]](parent: Locator, defaultModule: DefaultModule[F])(implicit arg0: QuasiIO[F], arg1: TagK[F]): Injector[F]

    Create a new injector inheriting configuration, hooks and the object graph from a previous injection.

    Create a new injector inheriting configuration, hooks and the object graph from a previous injection.

    Unlike inherit this will fully (re)create the defaultModule in subsequent injections, without reusing the existing instances in parent.

    F

    the effect type to use for effect and resource bindings and the result of izumi.distage.model.Injector#produce

    parent

    Instances from parent izumi.distage.model.Locator will be available as imports in new Injector's produce

  8. abstract def providedKeys[F[_]](bootstrapBase: BootstrapContextModule, overrides: BootstrapModule*)(implicit arg0: DefaultModule[F]): Set[DIKey]
  9. abstract def providedKeys[F[_]](overrides: BootstrapModule*)(implicit arg0: DefaultModule[F]): Set[DIKey]

    Keys summonable by default in DI, *including* those added additionally by izumi.distage.modules.DefaultModule

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def bootloader[F[_]](bootstrapModule: BootstrapModule, bootstrapActivation: Activation, defaultModule: DefaultModule[F], input: PlannerInput): Bootloader
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  17. def toString(): String
    Definition Classes
    AnyRef → Any
  18. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped