trait AbstractLocator extends Locator
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- AbstractLocator
- Locator
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
- abstract def finalizers[F[_]](implicit arg0: TagK[F]): Seq[Finalizer[F]]
- Definition Classes
- Locator
- abstract def index: Map[DIKey, Any]
- abstract def instances: Seq[IdentifiedRef]
Objects in this locator in order of creation
- abstract def lookupLocalUnsafe(key: DIKey): Option[Any]
- Attributes
- protected
- abstract def meta: LocatorMeta
- Definition Classes
- Locator
- abstract def parent: Option[Locator]
- Definition Classes
- Locator
- abstract def plan: Plan
The plan that produced this object graph
The plan that produced this object graph
- Definition Classes
- Locator
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- 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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def find[T](id: Identifier)(implicit arg0: Tag[T]): Option[T]
- Definition Classes
- AbstractLocator → Locator
- final def find[T](implicit arg0: Tag[T]): Option[T]
- Definition Classes
- AbstractLocator → Locator
- final def get[T](id: Identifier)(implicit arg0: Tag[T]): T
- Definition Classes
- AbstractLocator → Locator
- final def get[T](implicit arg0: Tag[T]): T
- Definition Classes
- AbstractLocator → Locator
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def lookupInstance[T](key: DIKey)(implicit arg0: Tag[T]): Option[T]
- Definition Classes
- AbstractLocator → Locator
- final def lookupInstanceOrThrow[T](key: DIKey)(implicit arg0: Tag[T]): T
- Definition Classes
- AbstractLocator → Locator
- final def lookupRef[T](key: DIKey)(implicit arg0: Tag[T]): Option[TypedRef[T]]
- Definition Classes
- AbstractLocator → Locator
- final def lookupRefOrThrow[T](key: DIKey)(implicit arg0: Tag[T]): TypedRef[T]
- Definition Classes
- AbstractLocator → Locator
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- 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
- final def runOption[T](function: Functoid[T]): Option[T]
Same as run but returns
None
if any of the arguments could not be fulfilled - final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()