LocatorContext

izumi.distage.provisioning.LocatorContext
final case class LocatorContext(provision: ProvisionImmutable[AnyF], locator: Locator, plan: Plan) extends ProvisioningKeyProvider

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def fetchKey(key: DIKey, byName: Boolean): Option[Any]

Return the object referred by key if available

Return the object referred by key if available

Value parameters

makeByName

Wrap the result into a Function0, if already a by-name proxy, return unchanged. If false and the value is a by-name proxy - it will be executed

Attributes

Definition Classes
override def fetchUnsafe(key: DIKey): Option[Any]

Directly access a value from the current context, without unpacking by-names *

Directly access a value from the current context, without unpacking by-names *

Attributes

Definition Classes
override def importKey(key: DIKey): Option[Any]

Lookup value through the chain of Locators, possibly retrieving it from a parent Locator

Lookup value through the chain of Locators, possibly retrieving it from a parent Locator

Attributes

Definition Classes
override def instances: Map[DIKey, Any]

Attributes

Definition Classes
override def narrow(allRequiredKeys: Set[DIKey]): ProvisioningKeyProvider

Attributes

Definition Classes

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product