ProxyingScope

com.softwaremill.macwire.scopes.ProxyingScope
trait ProxyingScope extends Scope

Attributes

Graph
Supertypes
trait Scope
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Concrete methods

def apply[T](createT: => T)(implicit tag: ClassTag[T]): T

Create a scoped value with the given factory class.

Create a scoped value with the given factory class.

Attributes

Inherited methods

def get[T](key: String, createT: => T): T

Get an instance from the current scope, for the specified key, using the given factory class to create an instance if not yet created.

Get an instance from the current scope, for the specified key, using the given factory class to create an instance if not yet created.

Attributes

Inherited from:
Scope