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
    InjectorInjectorFactory
  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
    InjectorInjectorFactory
  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
    InjectorInjectorFactory
  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
    InjectorInjectorFactory
  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
    InjectorInjectorFactory
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. 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
    InjectorInjectorFactory
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  26. object NoCycles extends InjectorBootstrap

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

  27. object NoProxies extends InjectorBootstrap

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

  28. object Standard extends InjectorBootstrap

Inherited from InjectorFactory

Inherited from AnyRef

Inherited from Any

Ungrouped