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(designConfig: DesignConfig, binding: Vector[Binding]) extends LogSupport with Product with Serializable

    Permalink

    Immutable airframe design

  4. case class DesignConfig(enabledLifeCycleLogging: Boolean = true, stage: Stage = Stage.DEVELOPMENT) extends Product with Serializable

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

    Permalink
  6. 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.

  7. class LifeCycleBinder[A] extends AnyRef

    Permalink
  8. trait LifeCycleEventHandler extends AnyRef

    Permalink

  9. class LifeCycleEventHandlerChain extends LifeCycleEventHandler

    Permalink
  10. class LifeCycleEventHandlerPair extends LifeCycleEventHandler

    Permalink
  11. trait LifeCycleHook extends AnyRef

    Permalink
  12. class LifeCycleManager extends LogSupport

    Permalink

    LifeCycleManager manages the life cycle of objects within a Session

  13. sealed trait LifeCycleStage extends AnyRef

    Permalink
  14. implicit class LifeCycleSupport[A] extends LogSupport

    Permalink

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

  15. class MethodCallHook[A] extends LifeCycleHook

    Permalink
  16. trait Session extends AutoCloseable

    Permalink

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

  17. class SessionBuilder extends LogSupport

    Permalink

  18. trait SessionHolder extends AnyRef

    Permalink

    Trait for embedding Session to a user trait

  19. sealed trait Stage extends AnyRef

    Permalink

Value Members

  1. object AddShutdownHook extends LifeCycleEventHandler

    Permalink

  2. object Airframe

    Permalink

    If importing wvlet.airframe._ is not preferrable, Airframe.newDesign can be used.

  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 with LogSupport

    Permalink

    Support @PreDestroy and @PostConstruct

  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 ShowDebugLifeCycleLog extends LifeCycleEventHandler

    Permalink
  17. object ShowLifeCycleLog extends LifeCycleEventHandler

    Permalink
  18. object Stage

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

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

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

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

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

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

    Permalink
  25. macro def bind[A]: A

    Permalink

    Inject a singleton of A

  26. macro def bindInstance[A, D1, D2, D3, D4, D5](factory: (D1, D2, D3, D4, D5) ⇒ A): A

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

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

    Permalink
  29. macro def bindInstance[A, D1, D2](factory: (D1, D2) ⇒ A): A

    Permalink
  30. macro def bindInstance[A, D1](factory: (D1) ⇒ A): A

    Permalink
  31. macro def bindInstance[A](factory: ⇒ A): A

    Permalink
  32. macro def bindInstance[A]: A

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

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

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

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

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

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

    Permalink
  39. macro def bindSingleton[A]: A

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

    Permalink
  41. 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]

  42. def newSilentDesign: Design

    Permalink

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

Inherited from AnyRef

Inherited from Any

Ungrouped