Packages

trait Locator extends AnyRef

Holds the object graph created by executing a plan

See also

Injector

Planner

Producer

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

Abstract Value Members

  1. abstract def find[T](id: String)(implicit arg0: reflection.universe.RuntimeDIUniverse.Tag[T]): Option[T]
  2. abstract def find[T](implicit arg0: reflection.universe.RuntimeDIUniverse.Tag[T]): Option[T]
  3. abstract def get[T](id: String)(implicit arg0: reflection.universe.RuntimeDIUniverse.Tag[T]): T
  4. abstract def get[T](implicit arg0: reflection.universe.RuntimeDIUniverse.Tag[T]): T
  5. abstract def instances: Seq[IdentifiedRef]

    Instances in order of creation

    Instances in order of creation

    returns

    *Only* instances contained in this Locator, *NOT* instances in parent Locators

  6. abstract def lookup[T](key: reflection.universe.RuntimeDIUniverse.DIKey)(implicit arg0: reflection.universe.RuntimeDIUniverse.Tag[T]): Option[reflection.universe.RuntimeDIUniverse.TypedRef[T]]
    Attributes
    protected[com.github.pshirshov.izumi.distage]
  7. abstract def lookupInstance[T](key: reflection.universe.RuntimeDIUniverse.DIKey)(implicit arg0: reflection.universe.RuntimeDIUniverse.Tag[T]): Option[T]
  8. abstract def lookupInstanceOrThrow[T](key: reflection.universe.RuntimeDIUniverse.DIKey)(implicit arg0: reflection.universe.RuntimeDIUniverse.Tag[T]): T
  9. abstract def parent: Option[Locator]
  10. abstract def plan: OrderedPlan

Concrete 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. final def allInstances: Seq[IdentifiedRef]

    ALL instances contained in this locator and in ALL the parent locators, including injector bootstrap environment

    ALL instances contained in this locator and in ALL the parent locators, including injector bootstrap environment

    See also

    com.github.pshirshov.izumi.distage.bootstrap.DefaultBootstrapContext

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate() @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def run[T](f: ProviderMagnet[T]): T

    Run function f filling all the arguments from locator contents.

    Run function f filling all the arguments from locator contents.

    Works similarly to provider bindings.

    See also

    ProviderMagnet

  16. final def runOption[T](f: ProviderMagnet[T]): Option[T]
  17. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  18. def toString(): String
    Definition Classes
    AnyRef → Any
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

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

Inherited from AnyRef

Inherited from Any

Ungrouped