trait Locator extends AnyRef
Holds the object graph created by executing a plan
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- Locator
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
- abstract def find[T](id: String)(implicit arg0: reflection.universe.RuntimeDIUniverse.Tag[T]): Option[T]
- abstract def find[T](implicit arg0: reflection.universe.RuntimeDIUniverse.Tag[T]): Option[T]
- abstract def get[T](id: String)(implicit arg0: reflection.universe.RuntimeDIUniverse.Tag[T]): T
- abstract def get[T](implicit arg0: reflection.universe.RuntimeDIUniverse.Tag[T]): T
-
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
-
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]
- abstract def lookupInstance[T](key: reflection.universe.RuntimeDIUniverse.DIKey)(implicit arg0: reflection.universe.RuntimeDIUniverse.Tag[T]): Option[T]
- abstract def lookupInstanceOrThrow[T](key: reflection.universe.RuntimeDIUniverse.DIKey)(implicit arg0: reflection.universe.RuntimeDIUniverse.Tag[T]): T
- abstract def parent: Option[Locator]
- abstract def plan: OrderedPlan
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]
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
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
- final def runOption[T](f: ProviderMagnet[T]): Option[T]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )