p

wvlet

airframe

package airframe

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

Package Members

  1. package canvas
  2. package codec
  3. package config

  4. package control
  5. package fluentd

  6. package http

  7. package jdbc
  8. package jmx
  9. package json

  10. package launcher
  11. package metrics

  12. package msgpack
  13. package surface

  14. package tablet
  15. package tracing

Type Members

  1. trait AirframeException extends Exception
  2. trait AirframeSpec extends WordSpec with Matchers with GivenWhenThen with BeforeAndAfter with BeforeAndAfterAll with LogSupport

  3. class Binder[A] extends LogSupport

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

    Immutable airframe design.

    Immutable airframe design.

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

  5. case class DesignOptions(enabledLifeCycleLogging: Boolean = true, stage: Stage = Stage.DEVELOPMENT, options: Map[String, Any] = Map.empty) extends Serializable with Product

    Design configs

  6. case class EventHookHolder[A](injectee: Injectee, hook: (A) => Any) extends LifeCycleHook with LogSupport with Product with Serializable
  7. class Injectee extends AnyRef
  8. 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.

  9. class LifeCycleBinder[A] extends AnyRef
  10. trait LifeCycleEventHandler extends AnyRef

  11. class LifeCycleEventHandlerChain extends LifeCycleEventHandler
  12. class LifeCycleEventHandlerPair extends LifeCycleEventHandler
  13. trait LifeCycleHook extends AnyRef
  14. class LifeCycleManager extends LogSupport

    LifeCycleManager manages the life cycle of objects within a Session

  15. sealed trait LifeCycleStage extends AnyRef
  16. implicit class LifeCycleSupport[A] extends LogSupport

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

  17. class MethodCallHook extends LifeCycleHook
  18. trait Session extends AutoCloseable

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

  19. class SessionBuilder extends LogSupport

  20. trait SessionHolder extends AnyRef

    Trait for embedding Session to a user trait

  21. case class SourceCode(filePath: String, fileName: String, line: Int, col: Int) extends Product with Serializable

    Source code location

  22. sealed trait Stage extends AnyRef

Abstract Value Members

  1. abstract def getClass(): Class[_ <: AnyRef]
    Definition Classes
    Any

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. macro def bind[A, D1, D2, D3, D4, D5](provider: (D1, D2, D3, D4, D5) => A): A
  6. macro def bind[A, D1, D2, D3, D4](provider: (D1, D2, D3, D4) => A): A
  7. macro def bind[A, D1, D2, D3](provider: (D1, D2, D3) => A): A
  8. macro def bind[A, D1, D2](provider: (D1, D2) => A): A
  9. macro def bind[A, D1](provider: (D1) => A): A
  10. macro def bind[A](provider: => A): A
  11. macro def bind[A]: A

    Inject a singleton of A

  12. macro def bindFactory[F <: Function1[_, _]]: F
  13. macro def bindFactory2[F <: Function2[_, _, _]]: F
  14. macro def bindFactory3[F <: Function3[_, _, _, _]]: F
  15. macro def bindFactory4[F <: Function4[_, _, _, _, _]]: F
  16. macro def bindFactory5[F <: Function5[_, _, _, _, _, _]]: F
  17. macro def debug(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  18. macro def debug(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  19. def equals(arg0: Any): Boolean
    Definition Classes
    Any
  20. macro def error(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  21. macro def error(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  22. def getOrElseUpdateTraitFactoryCache(s: Surface, factory: (Session) => Any): (Session) => Any
  23. def hashCode(): Int
    Definition Classes
    Any
  24. macro def info(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  25. macro def info(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. lazy val logger: Logger
    Attributes
    protected[this]
    Definition Classes
    LazyLogger
  28. def newDesign: Design

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

  29. def newSilentDesign: Design

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

  30. macro def registerTraitFactory[A]: Surface
  31. def toString(): String
    Definition Classes
    Any
  32. macro def trace(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  33. macro def trace(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  34. val traitFactoryCache: Map[Surface, (Session) => Any]
  35. macro def warn(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  36. macro def warn(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  37. object AddShutdownHook extends LifeCycleEventHandler

  38. object AirframeException extends Serializable
  39. object Binder extends Serializable
  40. object Design extends Serializable
  41. object EventHookHolder extends Serializable
  42. 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

  43. object INIT extends LifeCycleStage with Product with Serializable
  44. object JSR250LifeCycleExecutor extends LifeCycleEventHandler with LogSupport

    Support @PreDestroy and @PostConstruct

  45. object LazyF0 extends Serializable
  46. object LifeCycleManager extends Serializable
  47. object NilLifeCycleEventHandler extends LifeCycleEventHandler
  48. object STARTED extends LifeCycleStage with Product with Serializable
  49. object STARTING extends LifeCycleStage with Product with Serializable
  50. object STOPPED extends LifeCycleStage with Product with Serializable
  51. object STOPPING extends LifeCycleStage with Product with Serializable
  52. object Session extends LogSupport
  53. object ShowDebugLifeCycleLog extends LifeCycleEventHandler
  54. object ShowLifeCycleLog extends LifeCycleEventHandler
  55. object SourceCode extends Serializable
  56. object Stage

Inherited from LogSupport

Inherited from LazyLogger

Inherited from LoggingMethods

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped