object NoCycles extends InjectorBootstrap
Disable all cycle resolution, immediately throw when circular dependencies are found, whether by-name or not
- Alphabetic
- By Inheritance
- NoCycles
- InjectorBootstrap
- InjectorFactory
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def apply(): distage.Injector[distage.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- Definition Classes
- InjectorBootstrap → InjectorFactory
- final def apply[F[_]](bootstrapBase: BootstrapContextModule, bootstrapActivation: distage.Activation, parent: Option[distage.Locator], overrides: Seq[distage.BootstrapModule], locatorPrivacy: distage.LocatorPrivacy, bootstrapRootsMode: BootstrapRootsMode)(implicit arg0: QuasiIO[F], arg1: distage.TagK[F], arg2: distage.DefaultModule[F]): distage.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, passActivation
to the methods of the createdInjector
- 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.
- Definition Classes
- InjectorBootstrap → InjectorFactory
- final def apply[F[_]](overrides: distage.BootstrapModule*)(implicit arg0: QuasiIO[F], arg1: distage.TagK[F], arg2: distage.DefaultModule[F]): distage.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.
- Definition Classes
- InjectorBootstrap → InjectorFactory
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def bootloader[F[_]](bootstrapModule: izumi.distage.model.definition.BootstrapModule, bootstrapActivation: izumi.distage.model.definition.Activation, defaultModule: izumi.distage.modules.DefaultModule[F], input: izumi.distage.model.PlannerInput): Bootloader
- Definition Classes
- InjectorFactory
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def defaultBootstrap: BootstrapContextModule
- Attributes
- protected
- Definition Classes
- InjectorBootstrap → InjectorFactory
- final def defaultBootstrapActivation: distage.Activation
- Attributes
- protected
- Definition Classes
- InjectorBootstrap → InjectorFactory
- def defaultBootstrapLocatorPrivacy: distage.LocatorPrivacy
- Attributes
- protected
- Definition Classes
- InjectorBootstrap → InjectorFactory
- def defaultBootstrapRootsMode: BootstrapRootsMode
- Attributes
- protected
- Definition Classes
- InjectorBootstrap → InjectorFactory
- Annotations
- @inline()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def inherit[F[_]](parent: distage.Locator)(implicit arg0: QuasiIO[F], arg1: distage.TagK[F]): distage.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
- Definition Classes
- InjectorBootstrap → InjectorFactory
- final def inheritWithNewDefaultModule[F[_]](parent: distage.Locator, defaultModule: distage.DefaultModule[F])(implicit arg0: QuasiIO[F], arg1: distage.TagK[F]): distage.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 inparent
.- 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
- Definition Classes
- InjectorBootstrap → InjectorFactory
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def providedKeys[F[_]](bootstrapBase: BootstrapContextModule, overrides: distage.BootstrapModule*)(implicit arg0: distage.DefaultModule[F]): Set[distage.DIKey]
- Definition Classes
- InjectorBootstrap → InjectorFactory
- def providedKeys[F[_]](overrides: distage.BootstrapModule*)(implicit arg0: distage.DefaultModule[F]): Set[distage.DIKey]
Keys summonable by default in DI, *including* those added additionally by izumi.distage.modules.DefaultModule
Keys summonable by default in DI, *including* those added additionally by izumi.distage.modules.DefaultModule
- Definition Classes
- InjectorBootstrap → InjectorFactory
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()