Packages

o

distage

Injector

object Injector

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

Type Members

  1. class Gc extends InjectorBootstrap
  2. trait InjectorBootstrap extends AnyRef

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(bootstrapBase: BootstrapContextModule, overrides: distage.BootstrapModule*): distage.Injector
  5. def apply(overrides: distage.BootstrapModule*): distage.Injector

    Create a new Injector without garbage collection

  6. def apply(gcRoots: Set[distage.DIKey], bootstrapBase: BootstrapContextModule, overrides: distage.BootstrapModule*): distage.Injector

    Create a new Injector with a different BootstrapContextModule

    Create a new Injector with a different BootstrapContextModule

    See also

    DefaultBootstrapContext and CglibBootstrap for a list available bootstraps

  7. def apply(gcRoots: Set[distage.DIKey], overrides: distage.BootstrapModule*): distage.Injector

    Create a new Injector with garbage collection enabled

    Create a new Injector with garbage collection enabled

    GC will remove all bindings that aren’t transitive dependencies of the chosen GC root keys from the plan - they will never be instantiated.

    overrides

    Modules with overrides or additions to Injector's bootstrap environment, They're used to extend the Injector, e.g. add ability to inject config values or use GC

  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def bootstrap(bootstrapBase: BootstrapContextModule = CglibBootstrap.cogenBootstrap, overrides: distage.BootstrapModule = BootstrapModule.empty): distage.Injector
  10. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate() @throws( ... )
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. final def getClass(): Class[_]
    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 plugins, hooks and context from a previous Injector's run

    Create a new injector inheriting plugins, hooks and context from a previous Injector's run

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

  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( ... )
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. object NoCogen extends InjectorBootstrap
  26. object NoProxies extends InjectorBootstrap
  27. object Standard extends InjectorBootstrap

Deprecated Value Members

  1. def create(parent: distage.Locator): distage.Injector

    Create a new injector inheriting plugins, hooks and context from a previous Injector's run

    Create a new injector inheriting plugins, hooks and context from a previous Injector's run

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

    Annotations
    @deprecated
    Deprecated

    (Since version 2018-10-30) Use Injector.inherit

  2. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  3. def noReflection(overrides: distage.BootstrapModule*): distage.Injector
    Annotations
    @deprecated
    Deprecated

    (Since version 2018-10-29) Use Injector.NoCogen

  4. def noReflection: distage.Injector
    Annotations
    @deprecated
    Deprecated

    (Since version 2018-10-29) Use Injector.NoCogen

Inherited from AnyRef

Inherited from Any

Ungrouped