Class/Object

wvlet.airframe

Design

Related Docs: object Design | package airframe

Permalink

class Design extends LogSupport

Immutable airframe design.

Design instance does not hold any duplicate bindings for the same Surface.

Linear Supertypes
LogSupport, LazyLogger, LoggingMethods, Serializable, Serializable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Design
  2. LogSupport
  3. LazyLogger
  4. LoggingMethods
  5. Serializable
  6. Serializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: Design): Design

    Permalink
  4. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  5. def add(other: Design): Design

    Permalink
  6. def addBinding[A](b: Binding): DesignWithContext[A]

    Permalink
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def bind(t: Surface)(implicit sourceCode: SourceCode): Binder[Any]

    Permalink
  9. macro def bind[A]: Binder[A]

    Permalink
  10. macro def build[A](body: (A) ⇒ Any): Any

    Permalink

    A helper method of creating a new session and an instance of A.

    A helper method of creating a new session and an instance of A. This method is useful when you only need to use A as an entry point of your program. After executing the body, the sesion will be closed.

  11. def canEqual(other: Any): Boolean

    Permalink
  12. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  13. macro def debug(message: Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  14. macro def debug(message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  15. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. def equals(other: Any): Boolean

    Permalink
    Definition Classes
    Design → AnyRef → Any
  17. macro def error(message: Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  18. macro def error(message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  19. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  20. def hashCode(): Int

    Permalink
    Definition Classes
    Design → AnyRef → Any
  21. macro def info(message: Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  22. macro def info(message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  24. macro def logAt(logLevel: LogLevel, message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  25. lazy val logger: Logger

    Permalink
    Attributes
    protected[this]
    Definition Classes
    LazyLogger
  26. def minimize: Design

    Permalink

    Generates a minimized design by removing overwritten bindings

  27. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  28. def newSession: Session

    Permalink

    Create a new session.

    Create a new session.

    With this method, the session will not start automatically. You need to explicitly call session.start and session.shutdown to start/terminate the lifecycle of objects

  29. def newSessionBuilder: SessionBuilder

    Permalink

    Method for configuring the session in details

  30. def noDefaultInstanceInjection: Design

    Permalink
  31. def noLifeCycleLogging: Design

    Permalink
  32. def noStats: Design

    Permalink
  33. def noTracer: Design

    Permalink
  34. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  35. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  36. def remove(t: Surface): Design

    Permalink
  37. macro def remove[A]: Design

    Permalink
  38. macro def run[A, B](body: (A) ⇒ B): B

    Permalink

    Execute a given code block by building A using this design, and return B

  39. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  40. def toDesign: Design

    Permalink

    Used for casting itself as Design if returning DesignWithContext type is cumbersome

  41. def toString(): String

    Permalink
    Definition Classes
    Design → AnyRef → Any
  42. macro def trace(message: Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  43. macro def trace(message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  44. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. macro def warn(message: Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  48. macro def warn(message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  49. def withLazyMode: Design

    Permalink

    Do not initialize singletons for debugging

  50. def withLifeCycleLogging: Design

    Permalink
  51. def withProductionMode: Design

    Permalink

    Enable eager initialization of singletons services for production mode

  52. def withSession[U](body: (Session) ⇒ U): U

    Permalink

    Run the code block with a new session.

    Run the code block with a new session.

    This method will create a new session, start it, run the given code block, and finally terminate the session after the code block completion.

  53. def withStats(stats: DIStats): Design

    Permalink
  54. def withTracer(t: Tracer): Design

    Permalink

    Use a custom binding tracer

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from LogSupport

Inherited from LazyLogger

Inherited from LoggingMethods

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped