Packages

c

izumi.distage

LocatorDefaultImpl

final class LocatorDefaultImpl[F[_]] extends AbstractLocator

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

Instance Constructors

  1. new LocatorDefaultImpl(plan: Plan, parent: Option[Locator], meta: LocatorMeta, dependencyMap: Provision[F], privateBindings: Set[DIKey])

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]

    returns

    ALL instances contained in this locator and in all the parent locators, including injector bootstrap environment. Returned keys may overlap if parent locators contain objects for the same key. Instances from parent locators will be earlier in the list than instances from this locator.

    Definition Classes
    Locator
    See also

    izumi.distage.bootstrap.BootstrapLocator

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. final def depth: Int
    Definition Classes
    Locator
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  11. def finalizers[F1[_]](implicit arg0: TagK[F1]): Seq[Finalizer[F1]]
    Definition Classes
    LocatorDefaultImplLocator
  12. final def find[T](id: Identifier)(implicit arg0: Tag[T]): Option[T]
    Definition Classes
    AbstractLocatorLocator
  13. final def find[T](implicit arg0: Tag[T]): Option[T]
    Definition Classes
    AbstractLocatorLocator
  14. final def get[T](id: Identifier)(implicit arg0: Tag[T]): T
    Definition Classes
    AbstractLocatorLocator
  15. final def get[T](implicit arg0: Tag[T]): T
    Definition Classes
    AbstractLocatorLocator
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def index: Map[DIKey, Any]

    returns

    *Only* instances directly contained in this Locator, *NOT* instances in its parent Locators. Returned keys will be unique.

    Definition Classes
    LocatorDefaultImplLocator
  19. def instances: Seq[IdentifiedRef]

    Objects in this locator in order of creation

    Objects in this locator in order of creation

    returns

    *Only* instances directly contained in this Locator, *NOT* instances in its parent Locators. Returned keys will be unique.

    Definition Classes
    LocatorDefaultImplLocator
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def isPrivate(key: DIKey): Boolean
    Definition Classes
    LocatorDefaultImplLocator
  22. final def lookupInstance[T](key: DIKey)(implicit arg0: Tag[T]): Option[T]
    Definition Classes
    AbstractLocatorLocator
  23. final def lookupInstanceOrThrow[T](key: DIKey)(implicit arg0: Tag[T]): T
    Definition Classes
    AbstractLocatorLocator
  24. def lookupLocalUnsafe(key: DIKey): Option[Any]
    Attributes
    protected
    Definition Classes
    LocatorDefaultImplAbstractLocator
  25. final def lookupRef[T](key: DIKey)(implicit arg0: Tag[T]): Option[GenericTypedRef[T]]
    Definition Classes
    AbstractLocatorLocator
  26. final def lookupRefOrThrow[T](key: DIKey)(implicit arg0: Tag[T]): GenericTypedRef[T]
    Definition Classes
    AbstractLocatorLocator
  27. val meta: LocatorMeta
    Definition Classes
    LocatorDefaultImplLocator
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. val parent: Option[Locator]
    Definition Classes
    LocatorDefaultImplLocator
  32. val plan: Plan

    The plan that produced this object graph

    The plan that produced this object graph

    Definition Classes
    LocatorDefaultImplLocator
  33. def render()(implicit ev: Renderable[Locator]): String
    Definition Classes
    Locator
  34. final def run[T](function: Functoid[T]): T

    Run function filling all the arguments from the object graph.

    Run function filling all the arguments from the object graph.

    Works similarly to function bindings in izumi.distage.model.definition.ModuleDef.

    objects.run {
      (hellower: Hellower, bye: Byer) =>
        hellower.hello()
        byer.bye()
    }
    Definition Classes
    Locator
    See also

    izumi.distage.model.providers.Functoid

  35. final def runOption[T](function: Functoid[T]): Option[T]

    Same as run but returns None if any of the arguments could not be fulfilled

    Same as run but returns None if any of the arguments could not be fulfilled

    Definition Classes
    Locator
  36. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  37. def toString(): String
    Definition Classes
    Locator → AnyRef → Any
  38. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  39. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  40. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AbstractLocator

Inherited from Locator

Inherited from AnyRef

Inherited from Any

Ungrouped