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

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
  8. macro def bindSingleton[A, D1, D2, D3, D4, D5](factory: (D1, D2, D3, D4, D5) ⇒ A): A
  9. macro def bindSingleton[A, D1, D2, D3, D4](factory: (D1, D2, D3, D4) ⇒ A): A
  10. macro def bindSingleton[A, D1, D2, D3](factory: (D1, D2, D3) ⇒ A): A
  11. macro def bindSingleton[A, D1, D2](factory: (D1, D2) ⇒ A): A
  12. macro def bindSingleton[A, D1](factory: (D1) ⇒ A): A
  13. macro def bindSingleton[A](factory: ⇒ A): A
  14. macro def bindSingleton[A]: A
  15. val factoryCache: Map[Surface, (Session) ⇒ Any]
  16. def newDesign: Design

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

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

  17. object AddShutdownHook extends LifeCycleEventHandler
  18. object Airframe extends LogSupport
  19. object AirframeException extends Serializable
  20. object Binder extends Serializable
  21. object Design extends Serializable
  22. 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

  23. object INIT extends LifeCycleStage with Product with Serializable
  24. object LazyF0 extends Serializable
  25. object LifeCycleManager extends Serializable
  26. object STARTED extends LifeCycleStage with Product with Serializable
  27. object STARTING extends LifeCycleStage with Product with Serializable
  28. object STOPPED extends LifeCycleStage with Product with Serializable
  29. object STOPPING extends LifeCycleStage with Product with Serializable
  30. object Session extends LogSupport
  31. object ShowLifeCycleLog extends LifeCycleEventHandler

Inherited from AnyRef

Inherited from Any

Ungrouped