Packages

class Binder[A] extends BinderImpl[A]

Linear Supertypes
BinderImpl[A], LogSupport, LazyLogger, LoggingMethods, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Binder
  2. BinderImpl
  3. LogSupport
  4. LazyLogger
  5. LoggingMethods
  6. Serializable
  7. Serializable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Binder(design: Design, from: Surface, sourceCode: SourceCode)

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. def afterStart(body: (A) ⇒ Unit): DesignWithContext[A]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def beforeShutdown(body: (A) ⇒ Unit): DesignWithContext[A]
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  8. macro def debug(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  9. macro def debug(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  10. val design: Design
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. macro def error(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  14. macro def error(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  15. val from: Surface
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. macro def info(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  19. macro def info(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. macro def logAt(logLevel: LogLevel, message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  22. lazy val logger: Logger
    Attributes
    protected[this]
    Definition Classes
    LazyLogger
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. def onInit(body: (A) ⇒ Unit): DesignWithContext[A]
  27. def onInject(body: (A) ⇒ Unit): DesignWithContext[A]
  28. def onShutdown(body: (A) ⇒ Unit): DesignWithContext[A]
  29. def onStart(body: (A) ⇒ Unit): DesignWithContext[A]
  30. val sourceCode: SourceCode
  31. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  32. macro def to[B <: A]: DesignWithContext[B]

    Bind a singleton instance of B to A

    Bind a singleton instance of B to A

    Definition Classes
    BinderImpl
  33. def toEagerSingleton: DesignWithContext[A]
  34. macro def toEagerSingletonOf[B <: A]: DesignWithContext[B]
    Definition Classes
    BinderImpl
  35. macro def toEagerSingletonProvider[D1, D2, D3, D4, D5](factory: (D1, D2, D3, D4, D5) ⇒ A): DesignWithContext[A]
    Definition Classes
    BinderImpl
  36. macro def toEagerSingletonProvider[D1, D2, D3, D4](factory: (D1, D2, D3, D4) ⇒ A): DesignWithContext[A]
    Definition Classes
    BinderImpl
  37. macro def toEagerSingletonProvider[D1, D2, D3](factory: (D1, D2, D3) ⇒ A): DesignWithContext[A]
    Definition Classes
    BinderImpl
  38. macro def toEagerSingletonProvider[D1, D2](factory: (D1, D2) ⇒ A): DesignWithContext[A]
    Definition Classes
    BinderImpl
  39. macro def toEagerSingletonProvider[D1](factory: (D1) ⇒ A): DesignWithContext[A]
    Definition Classes
    BinderImpl
  40. def toInstance(any: ⇒ A): DesignWithContext[A]

    Bind the type to a given instance.

    Bind the type to a given instance. The instance will be instantiated as an eager singleton when creating a session. Note that as you create a new session, new instance will be generated.

  41. def toLazyInstance(any: ⇒ A): DesignWithContext[A]

    Bind an instance lazily (no singleton).

    Bind an instance lazily (no singleton). This is used internally for implementing bindFactory[I1 => A]

  42. macro def toProvider[D1, D2, D3, D4, D5](factory: (D1, D2, D3, D4, D5) ⇒ A): DesignWithContext[A]
    Definition Classes
    BinderImpl
  43. macro def toProvider[D1, D2, D3, D4](factory: (D1, D2, D3, D4) ⇒ A): DesignWithContext[A]
    Definition Classes
    BinderImpl
  44. macro def toProvider[D1, D2, D3](factory: (D1, D2, D3) ⇒ A): DesignWithContext[A]
    Definition Classes
    BinderImpl
  45. macro def toProvider[D1, D2](factory: (D1, D2) ⇒ A): DesignWithContext[A]
    Definition Classes
    BinderImpl
  46. macro def toProvider[D1](factory: (D1) ⇒ A): DesignWithContext[A]
    Definition Classes
    BinderImpl
  47. def toSingleton: DesignWithContext[A]
  48. def toString(): String
    Definition Classes
    AnyRef → Any
  49. macro def trace(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  50. macro def trace(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  51. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  52. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  53. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  54. macro def warn(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  55. macro def warn(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated
  2. macro def toInstanceOf[B <: A]: DesignWithContext[B]

    Bind an instance of B to A

    Bind an instance of B to A

    Definition Classes
    BinderImpl
    Annotations
    @deprecated
    Deprecated

    (Since version 21.5.1) Use to[X] instead. This method will not be available in Scala 3

  3. macro def toInstanceProvider[D1, D2, D3, D4, D5](factory: (D1, D2, D3, D4, D5) ⇒ A): DesignWithContext[A]
    Definition Classes
    BinderImpl
    Annotations
    @deprecated
    Deprecated

    (Since version 21.5.1) Use toProvider[X] instead. This method will not be available in Scala 3

  4. macro def toInstanceProvider[D1, D2, D3, D4](factory: (D1, D2, D3, D4) ⇒ A): DesignWithContext[A]
    Definition Classes
    BinderImpl
    Annotations
    @deprecated
    Deprecated

    (Since version 21.5.1) Use toProvider[X] instead. This method will not be available in Scala 3

  5. macro def toInstanceProvider[D1, D2, D3](factory: (D1, D2, D3) ⇒ A): DesignWithContext[A]
    Definition Classes
    BinderImpl
    Annotations
    @deprecated
    Deprecated

    (Since version 21.5.1) Use toProvider[X] instead. This method will not be available in Scala 3

  6. macro def toInstanceProvider[D1, D2](factory: (D1, D2) ⇒ A): DesignWithContext[A]
    Definition Classes
    BinderImpl
    Annotations
    @deprecated
    Deprecated

    (Since version 21.5.1) Use toProvider[X] instead. This method will not be available in Scala 3

  7. macro def toInstanceProvider[D1](factory: (D1) ⇒ A): DesignWithContext[A]
    Definition Classes
    BinderImpl
    Annotations
    @deprecated
    Deprecated

    (Since version 21.5.1) Use toProvider[X] instead. This method will not be available in Scala 3

  8. macro def toSingletonOf[B <: A]: DesignWithContext[B]
    Definition Classes
    BinderImpl
    Annotations
    @deprecated
    Deprecated

    (Since version 21.5.1) Use to[X] instead. This method will not be available in Scala 3

  9. macro def toSingletonProvider[D1, D2, D3, D4, D5](factory: (D1, D2, D3, D4, D5) ⇒ A): DesignWithContext[A]
    Definition Classes
    BinderImpl
    Annotations
    @deprecated
    Deprecated

    (Since version 21.5.1) Use toProvider[X] instead. This method will not be available in Scala 3

  10. macro def toSingletonProvider[D1, D2, D3, D4](factory: (D1, D2, D3, D4) ⇒ A): DesignWithContext[A]
    Definition Classes
    BinderImpl
    Annotations
    @deprecated
    Deprecated

    (Since version 21.5.1) Use toProvider[X] instead. This method will not be available in Scala 3

  11. macro def toSingletonProvider[D1, D2, D3](factory: (D1, D2, D3) ⇒ A): DesignWithContext[A]
    Definition Classes
    BinderImpl
    Annotations
    @deprecated
    Deprecated

    (Since version 21.5.1) Use toProvider[X] instead. This method will not be available in Scala 3

  12. macro def toSingletonProvider[D1, D2](factory: (D1, D2) ⇒ A): DesignWithContext[A]
    Definition Classes
    BinderImpl
    Annotations
    @deprecated
    Deprecated

    (Since version 21.5.1) Use toProvider[X] instead. This method will not be available in Scala 3

  13. macro def toSingletonProvider[D1](factory: (D1) ⇒ A): DesignWithContext[A]
    Definition Classes
    BinderImpl
    Annotations
    @deprecated
    Deprecated

    (Since version 21.5.1) Use toProvider[X] instead. This method will not be available in Scala 3

Inherited from BinderImpl[A]

Inherited from LogSupport

Inherited from LazyLogger

Inherited from LoggingMethods

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped