Packages

trait Injector extends DependencyPoolRef[LocalizedContainer]

Self Type
Injector
Linear Supertypes
DependencyPoolRef[LocalizedContainer], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Injector
  2. DependencyPoolRef
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. implicit final class __refuel_X[T] extends AnyRef

    Gets an indexer for registering new dependencies.

    Gets an indexer for registering new dependencies. By default, the dependency priority is set to maximum.

    T

    new dependency type

    Attributes
    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. implicit val __refuel_accessor: Accessor[_]

    This refers to itself.

    This refers to itself. When injecting, check if this Accessor is authorized.

    Attributes
    protected
  5. implicit def __refuel_c: Container
    Definition Classes
    DependencyPoolRef
  6. val __refuel_cRef: Option[LocalizedContainer]
    Definition Classes
    DependencyPoolRef
  7. implicit def _implicitNestedProviding[X](variable: Lazy[Lazy[X]])(implicit ctn: LocalizedContainer): X
  8. implicit def _implicitProviding[X](variable: Lazy[X])(implicit ctn: LocalizedContainer): X

    Provide internal instance Lazy[T].

    Provide internal instance Lazy[T]. Once injected, the object is persisted. However, if a request from a different container instance occurs, it may be searched again.

    X

    Variable type

    variable

    Stored dependency object.

  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  11. def closed[T](ctx: (LocalizedContainer) => T): T
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. def extended[T](ctx: (LocalizedContainer) => T)(implicit c: Container): T

    Create a container shade.

    Create a container shade. You can't nest shading.

    class A(value: String)
    class B(a: A)
    class C(b: B)
    class D(c: C)
    shade { implicit c =>
      new BStub().index[B]()
      inject[D].run // Use BStub in C in D
    }
    inject[D].run // Use A in B in C in D
    T

    Result type

    ctx

    Shaded container function.

  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. macro def inject[T]: Lazy[T]

    Get accessible dependencies.

    Get accessible dependencies.

    The type information is resolved at compile time, but the injection object is finalized at runtime.

    T

    Injection type

    Attributes
    protected
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  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. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

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

Inherited from DependencyPoolRef[LocalizedContainer]

Inherited from AnyRef

Inherited from Any

Ungrouped