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. All

Type Members

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

  3. case class Design(binding: Vector[Binding]) extends LogSupport with Product with Serializable

    Immutable airframe design

  4. case class EventHookHolder[A](surface: Surface, obj: A, hook: (A) ⇒ Any) extends LifeCycleHook with LogSupport with Product with Serializable
  5. 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.

  6. class LifeCycleBinder[A] extends AnyRef
  7. trait LifeCycleEventHandler extends AnyRef

  8. class LifeCycleEventHandlerChain extends LifeCycleEventHandler
  9. class LifeCycleEventHandlerPair extends LifeCycleEventHandler
  10. trait LifeCycleHook extends AnyRef
  11. class LifeCycleManager extends LogSupport

    LifeCycleManager manages the life cycle of objects within a Session

  12. sealed trait LifeCycleStage extends AnyRef
  13. implicit class LifeCycleSupport[A] extends LogSupport

    bind[A].withLifeCycle(init = ..., start = ..., shutdown = ...)

  14. trait Session extends AutoCloseable

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

  15. class SessionBuilder extends LogSupport

  16. trait SessionHolder extends AnyRef

    Trait for embedding Session to a user trait

  17. sealed trait Stage extends AnyRef

Value Members

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

    Inject a singleton of A

  8. macro def bindInstance[A, D1, D2, D3, D4, D5](factory: (D1, D2, D3, D4, D5) ⇒ A): A
  9. macro def bindInstance[A, D1, D2, D3, D4](factory: (D1, D2, D3, D4) ⇒ A): A
  10. macro def bindInstance[A, D1, D2, D3](factory: (D1, D2, D3) ⇒ A): A
  11. macro def bindInstance[A, D1, D2](factory: (D1, D2) ⇒ A): A
  12. macro def bindInstance[A, D1](factory: (D1) ⇒ A): A
  13. macro def bindInstance[A](factory: ⇒ A): A
  14. macro def bindInstance[A]: A
  15. macro def bindSingleton[A, D1, D2, D3, D4, D5](factory: (D1, D2, D3, D4, D5) ⇒ A): A
  16. macro def bindSingleton[A, D1, D2, D3, D4](factory: (D1, D2, D3, D4) ⇒ A): A
  17. macro def bindSingleton[A, D1, D2, D3](factory: (D1, D2, D3) ⇒ A): A
  18. macro def bindSingleton[A, D1, D2](factory: (D1, D2) ⇒ A): A
  19. macro def bindSingleton[A, D1](factory: (D1) ⇒ A): A
  20. macro def bindSingleton[A](factory: ⇒ A): A
  21. macro def bindSingleton[A]: A
  22. def blancSession: Session
  23. val factoryCache: Map[Surface, (Session) ⇒ Any]
  24. def newDesign: Design

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

  25. object AddShutdownHook extends LifeCycleEventHandler
  26. object Airframe extends LogSupport
  27. object AirframeException extends Serializable
  28. object Binder extends Serializable
  29. object Design extends Serializable
  30. object FILOLifeCycleHookExecutor extends LifeCycleEventHandler with LogSupport

    First In, Last Out (FILO) hook executor.

    First In, Last Out (FILO) hook executor.

    If objects are injected in A -> B -> C order, init an shutdown orders will be: init => A -> B -> C shutdown order => C -> B -> A

  31. object INIT extends LifeCycleStage with Product with Serializable
  32. object JSR250LifeCycleExecutor extends LifeCycleEventHandler

  33. object LazyF0 extends Serializable
  34. object LifeCycleManager extends Serializable
  35. object STARTED extends LifeCycleStage with Product with Serializable
  36. object STARTING extends LifeCycleStage with Product with Serializable
  37. object STOPPED extends LifeCycleStage with Product with Serializable
  38. object STOPPING extends LifeCycleStage with Product with Serializable
  39. object Session extends LogSupport
  40. object ShowLifeCycleLog extends LifeCycleEventHandler
  41. object Stage

Inherited from AnyRef

Inherited from Any

Ungrouped