Packages

o

distage

Injector

object Injector extends InjectorFactory

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

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. 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
  5. 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
  6. 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
  7. 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
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def bootloader(input: distage.PlannerInput, activation: distage.Activation = Activation.empty, bootstrapModule: distage.BootstrapModule = BootstrapModule.empty): Bootloader
    Definition Classes
    Injector → InjectorFactory
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. 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

    Create a new injector inheriting configuration, hooks and the object graph from results of a previous Injector's run

    parent

    Instances from parent Locator will be available as imports in new Injector's produce

    Definition Classes
    Injector → InjectorFactory
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. object NoCycles extends InjectorBootstrap

    Disable all cycle resolution, immediately throw when circular dependencies are found, whether by-name or not

  26. object NoProxies extends InjectorBootstrap

    Disable cglib proxies, but allow by-name parameters to resolve cycles

  27. object Standard extends InjectorBootstrap

Deprecated Value Members

  1. 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.

Inherited from InjectorFactory

Inherited from AnyRef

Inherited from Any

Ungrouped