Package

wvlet

airframe

Permalink

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

    Permalink
  2. class Binder[A] extends LogSupport

    Permalink

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

    Permalink

    Immutable airframe design

  4. case class EventHookHolder[A](surface: Surface, obj: A, hook: (A) ⇒ Any) extends LifeCycleHook with LogSupport with Product with Serializable

    Permalink
  5. class LazyF0[+R] extends Serializable with Cloneable

    Permalink

    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

    Permalink
  7. trait LifeCycleEventHandler extends AnyRef

    Permalink

  8. class LifeCycleEventHandlerChain extends LifeCycleEventHandler

    Permalink
  9. class LifeCycleEventHandlerPair extends LifeCycleEventHandler

    Permalink
  10. trait LifeCycleHook extends AnyRef

    Permalink
  11. class LifeCycleManager extends LogSupport

    Permalink

    LifeCycleManager manages the life cycle of objects within a Session

  12. sealed trait LifeCycleStage extends AnyRef

    Permalink
  13. implicit class LifeCycleSupport[A] extends LogSupport

    Permalink

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

  14. trait Session extends AutoCloseable

    Permalink

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

  15. class SessionBuilder extends LogSupport

    Permalink

  16. trait SessionHolder extends AnyRef

    Permalink

    Trait for embedding Session to a user trait

Value Members

  1. object AddShutdownHook extends LifeCycleEventHandler

    Permalink
  2. object Airframe extends LogSupport

    Permalink
  3. object AirframeException extends Serializable

    Permalink
  4. object Binder extends Serializable

    Permalink
  5. object Design extends Serializable

    Permalink
  6. object FILOLifeCycleHookExecutor extends LifeCycleEventHandler with LogSupport

    Permalink

    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

  7. object INIT extends LifeCycleStage with Product with Serializable

    Permalink
  8. object JSR250LifeCycleExecutor extends LifeCycleEventHandler

    Permalink

  9. object LazyF0 extends Serializable

    Permalink
  10. object LifeCycleManager extends Serializable

    Permalink
  11. object STARTED extends LifeCycleStage with Product with Serializable

    Permalink
  12. object STARTING extends LifeCycleStage with Product with Serializable

    Permalink
  13. object STOPPED extends LifeCycleStage with Product with Serializable

    Permalink
  14. object STOPPING extends LifeCycleStage with Product with Serializable

    Permalink
  15. object Session extends LogSupport

    Permalink
  16. object ShowLifeCycleLog extends LifeCycleEventHandler

    Permalink
  17. macro def bind[A, D1, D2, D3, D4, D5](factory: (D1, D2, D3, D4, D5) ⇒ A): A

    Permalink
  18. macro def bind[A, D1, D2, D3, D4](factory: (D1, D2, D3, D4) ⇒ A): A

    Permalink
  19. macro def bind[A, D1, D2, D3](factory: (D1, D2, D3) ⇒ A): A

    Permalink
  20. macro def bind[A, D1, D2](factory: (D1, D2) ⇒ A): A

    Permalink
  21. macro def bind[A, D1](factory: (D1) ⇒ A): A

    Permalink
  22. macro def bind[A](factory: ⇒ A): A

    Permalink
  23. macro def bind[A]: A

    Permalink
  24. macro def bindSingleton[A, D1, D2, D3, D4, D5](factory: (D1, D2, D3, D4, D5) ⇒ A): A

    Permalink
  25. macro def bindSingleton[A, D1, D2, D3, D4](factory: (D1, D2, D3, D4) ⇒ A): A

    Permalink
  26. macro def bindSingleton[A, D1, D2, D3](factory: (D1, D2, D3) ⇒ A): A

    Permalink
  27. macro def bindSingleton[A, D1, D2](factory: (D1, D2) ⇒ A): A

    Permalink
  28. macro def bindSingleton[A, D1](factory: (D1) ⇒ A): A

    Permalink
  29. macro def bindSingleton[A](factory: ⇒ A): A

    Permalink
  30. macro def bindSingleton[A]: A

    Permalink
  31. def blancSession: Session

    Permalink
  32. val factoryCache: Map[Surface, (Session) ⇒ Any]

    Permalink
  33. def newDesign: Design

    Permalink

    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]

Inherited from AnyRef

Inherited from Any

Ungrouped