Package

wvlet

airframe

Permalink

package airframe

Linear Supertypes
LogSupport, LazyLogger, LoggingMethods, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. airframe
  2. LogSupport
  3. LazyLogger
  4. LoggingMethods
  5. Serializable
  6. Serializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait AirframeException extends Exception

    Permalink
  2. trait AirframeSpec extends WordSpec with Matchers with GivenWhenThen with BeforeAndAfter with BeforeAndAfterAll with LogSupport

    Permalink

  3. class Binder[A] extends LogSupport

    Permalink

  4. case class Design(designOptions: DesignOptions, binding: Vector[Binding]) extends LogSupport with Product with Serializable

    Permalink

    Immutable airframe design.

    Immutable airframe design.

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

  5. class DesignOptions extends Serializable

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

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

  8. class LifeCycleBinder[A] extends AnyRef

    Permalink
  9. trait LifeCycleEventHandler extends AnyRef

    Permalink

  10. class LifeCycleEventHandlerChain extends LifeCycleEventHandler

    Permalink
  11. class LifeCycleEventHandlerPair extends LifeCycleEventHandler

    Permalink
  12. trait LifeCycleHook extends AnyRef

    Permalink
  13. class LifeCycleManager extends LogSupport

    Permalink

    LifeCycleManager manages the life cycle of objects within a Session

  14. sealed trait LifeCycleStage extends AnyRef

    Permalink
  15. implicit class LifeCycleSupport[A] extends LogSupport

    Permalink

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

  16. class MethodCallHook[A] extends LifeCycleHook

    Permalink
  17. trait Session extends AutoCloseable

    Permalink

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

  18. class SessionBuilder extends LogSupport

    Permalink

  19. trait SessionHolder extends AnyRef

    Permalink

    Trait for embedding Session to a user trait

  20. sealed trait Stage extends AnyRef

    Permalink

Abstract Value Members

  1. abstract def getClass(): Class[_]

    Permalink
    Definition Classes
    Any

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  4. object AddShutdownHook extends LifeCycleEventHandler

    Permalink

  5. object Airframe

    Permalink

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

  6. object AirframeException extends Serializable

    Permalink
  7. object Binder extends Serializable

    Permalink
  8. object Design extends Serializable

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

  10. object INIT extends LifeCycleStage with Product with Serializable

    Permalink
  11. object JSR250LifeCycleExecutor extends LifeCycleEventHandler with LogSupport

    Permalink

    Support @PreDestroy and @PostConstruct

  12. object LazyF0 extends Serializable

    Permalink
  13. object LifeCycleManager extends Serializable

    Permalink
  14. object STARTED extends LifeCycleStage with Product with Serializable

    Permalink
  15. object STARTING extends LifeCycleStage with Product with Serializable

    Permalink
  16. object STOPPED extends LifeCycleStage with Product with Serializable

    Permalink
  17. object STOPPING extends LifeCycleStage with Product with Serializable

    Permalink
  18. object Session extends LogSupport

    Permalink
  19. object ShowDebugLifeCycleLog extends LifeCycleEventHandler

    Permalink
  20. object ShowLifeCycleLog extends LifeCycleEventHandler

    Permalink
  21. object Stage

    Permalink
  22. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  23. macro def bind[A, D1, D2, D3, D4, D5](factory: (D1, D2, D3, D4, D5) ⇒ A): A

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

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

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

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

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

    Permalink
  29. macro def bind[A]: A

    Permalink

    Inject a singleton of A

  30. macro def bindFactory[F <: Function1[_, _]]: F

    Permalink
  31. macro def bindFactory2[F <: Function2[_, _, _]]: F

    Permalink
  32. macro def bindFactory3[F <: Function3[_, _, _, _]]: F

    Permalink
  33. macro def bindFactory4[F <: Function4[_, _, _, _, _]]: F

    Permalink
  34. macro def bindFactory5[F <: Function5[_, _, _, _, _, _]]: F

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

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

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

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

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

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

    Permalink
  41. macro def bindInstance[A]: A

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

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

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

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

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

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

    Permalink
  48. macro def bindSingleton[A]: A

    Permalink
  49. package codec

    Permalink
  50. package config

    Permalink

  51. package control

    Permalink
  52. macro def debug(message: Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  53. macro def debug(message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  54. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  55. macro def error(message: Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  56. macro def error(message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  57. def getOrElseUpdateTraitFactoryCache(s: Surface, factory: (Session) ⇒ Any): (Session) ⇒ Any

    Permalink
  58. def hashCode(): Int

    Permalink
    Definition Classes
    Any
  59. package http

    Permalink

  60. macro def info(message: Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  61. macro def info(message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  62. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  63. package jdbc

    Permalink
  64. package jmx

    Permalink
  65. package json

    Permalink
  66. lazy val logger: Logger

    Permalink
    Attributes
    protected[this]
    Definition Classes
    LazyLogger
  67. package metrics

    Permalink

  68. package msgpack

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

  70. def newSilentDesign: Design

    Permalink

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

  71. package opts

    Permalink
  72. package stream

    Permalink
  73. package surface

    Permalink

  74. package tablet

    Permalink
  75. def toString(): String

    Permalink
    Definition Classes
    Any
  76. macro def trace(message: Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  77. macro def trace(message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  78. val traitFactoryCache: Map[Surface, (Session) ⇒ Any]

    Permalink
  79. macro def warn(message: Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  80. macro def warn(message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods

Inherited from LogSupport

Inherited from LazyLogger

Inherited from LoggingMethods

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped