object Injector extends InjectorFactory
- Alphabetic
- By Inheritance
- Injector
- 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
- def apply(activation: distage.Activation, bootstrapBase: BootstrapContextModule, overrides: distage.BootstrapModule*): distage.Injector
Create a new Injector from a custom BootstrapContextModule and the chosen izumi.distage.model.definition.Activation axes
Create a new Injector from a custom BootstrapContextModule and the chosen izumi.distage.model.definition.Activation axes
- activation
A map of axes of configuration to choices along these axes
- bootstrapBase
See BootstrapLocator and CglibBootstrap for a list available bootstrap modules
- overrides
Optional: Overrides of Injector's own bootstrap environment - injector itself is constructed with DI. They can be used to extend the Injector, e.g. add ability to inject config values
- Definition Classes
- Injector → InjectorFactory
- def apply(bootstrapBase: BootstrapContextModule, overrides: distage.BootstrapModule*): distage.Injector
Create a new Injector from a custom BootstrapContextModule
Create a new Injector from a custom BootstrapContextModule
- bootstrapBase
See BootstrapLocator and CglibBootstrap for a list available bootstrap modules
- overrides
Optional: Overrides of Injector's own bootstrap environment - injector itself is constructed with DI. They can be used to extend the Injector, e.g. add ability to inject config values
- Definition Classes
- Injector → InjectorFactory
- def apply(activation: distage.Activation, overrides: distage.BootstrapModule*): distage.Injector
Create a new Injector with chosen izumi.distage.model.definition.Activation axes
Create a new Injector with chosen izumi.distage.model.definition.Activation axes
- activation
A map of axes of configuration to choices along these axes
- overrides
Optional: Overrides of Injector's own bootstrap environment - injector itself is constructed with DI. They can be used to extend the Injector, e.g. add ability to inject config values
- Definition Classes
- Injector → InjectorFactory
- def apply(overrides: distage.BootstrapModule*): distage.Injector
Create a new Injector
Create a new Injector
- overrides
Optional: Overrides of Injector's own bootstrap environment - injector itself is constructed with DI. They can be used to extend the Injector, e.g. add ability to inject config values
- Definition Classes
- Injector → InjectorFactory
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def bootloader(input: distage.PlannerInput, activation: distage.Activation = Activation.empty, bootstrapModule: distage.BootstrapModule = BootstrapModule.empty): Bootloader
- Definition Classes
- Injector → InjectorFactory
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def inherit(parent: distage.Locator): distage.Injector
Create a new injector inheriting configuration, hooks and the object graph from results of a previous Injector's run
- 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() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- object NoCycles extends InjectorBootstrap
Disable all cycle resolution, immediately throw when circular dependencies are found, whether by-name or not
- object NoProxies extends InjectorBootstrap
Disable cglib proxies, but allow by-name parameters to resolve cycles
- object Standard extends InjectorBootstrap
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.