Packages

p

wvlet

airframe

package airframe

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. airframe
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Package Members

  1. package lifecycle
  2. package tracing

Type Members

  1. trait AirframeException extends Exception
  2. class Binder[A] extends LogSupport

  3. class Design extends LogSupport

    Immutable airframe design.

    Immutable airframe design.

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

  4. case class DesignOptions(enabledLifeCycleLogging: Option[Boolean] = None, stage: Option[Stage] = None, options: Map[String, Any] = Map.empty) extends Serializable with Product

    Design configs

  5. class DesignWithContext[A] extends Design
  6. class LazyF0[+R] extends Serializable with Cloneable

    This class is used to obtain the class names of the call-by-name functions (Function0[R]).

    This class is used to obtain the class names of the call-by-name functions (Function0[R]).

    This wrapper do not directly access the field f (Function0[R]) in order to avoid the evaluation of the function.

  7. case class LifeCycleHookDesign(lifeCycleHookType: LifeCycleHookType, surface: Surface, hook: (Any) => Unit) extends Product with Serializable
  8. implicit class LifeCycleSupport[A] extends LogSupport
  9. trait Session extends AutoCloseable

    Session manages injected objects (e.g., Singleton)

  10. class SessionBuilder extends LogSupport

  11. trait SessionHolder extends AnyRef

    Trait for embedding Session to a user trait

  12. sealed trait Stage extends AnyRef

Value Members

  1. macro def bind[A, D1, D2, D3, D4, D5](provider: (D1, D2, D3, D4, D5) => A): A
  2. macro def bind[A, D1, D2, D3, D4](provider: (D1, D2, D3, D4) => A): A
  3. macro def bind[A, D1, D2, D3](provider: (D1, D2, D3) => A): A
  4. macro def bind[A, D1, D2](provider: (D1, D2) => A): A
  5. macro def bind[A, D1](provider: (D1) => A): A
  6. macro def bind[A](provider: => A): A
  7. macro def bind[A]: A

    Inject a singleton of A

  8. macro def bindFactory[F <: Function1[_, _]]: F
  9. macro def bindFactory2[F <: Function2[_, _, _]]: F
  10. macro def bindFactory3[F <: Function3[_, _, _, _]]: F
  11. macro def bindFactory4[F <: Function4[_, _, _, _, _]]: F
  12. macro def bindFactory5[F <: Function5[_, _, _, _, _, _]]: F
  13. def getOrElseUpdateTraitFactoryCache(s: Surface, factory: (Session) => Any): (Session) => Any
  14. def newDesign: Design

    The entry point to create a new design beginning from a blanc design import wvlet.airframe._ val d = design.bind[X]

  15. def newSilentDesign: Design

    Create an empty design, which sends life cycle logs to debug log level

  16. macro def registerTraitFactory[A]: Surface
  17. val traitFactoryCache: Map[Surface, (Session) => Any]
  18. object AirframeException extends Serializable
  19. object Binder extends Serializable
  20. object Design extends Serializable
  21. object LazyF0 extends Serializable
  22. object Session extends LogSupport
  23. object Stage

Inherited from AnyRef

Inherited from Any

Ungrouped