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 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. case class DesignOptions(enabledLifeCycleLogging: Boolean = true, stage: Stage = Stage.DEVELOPMENT, options: Map[String, Any] = Map.empty) extends Serializable with Product

    Permalink

    Design configs

  6. case class EventHookHolder[A](injectee: Injectee, hook: (A) ⇒ Any) extends LifeCycleHook with LogSupport with Product with Serializable

    Permalink
  7. class Injectee extends AnyRef

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

  9. class LifeCycleBinder[A] extends AnyRef

    Permalink
  10. trait LifeCycleEventHandler extends AnyRef

    Permalink

  11. class LifeCycleEventHandlerChain extends LifeCycleEventHandler

    Permalink
  12. class LifeCycleEventHandlerPair extends LifeCycleEventHandler

    Permalink
  13. trait LifeCycleHook extends AnyRef

    Permalink
  14. class LifeCycleManager extends LogSupport

    Permalink

    LifeCycleManager manages the life cycle of objects within a Session

  15. sealed trait LifeCycleStage extends AnyRef

    Permalink
  16. implicit class LifeCycleSupport[A] extends LogSupport

    Permalink

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

  17. class MethodCallHook extends LifeCycleHook

    Permalink
  18. trait Session extends AutoCloseable

    Permalink

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

  19. class SessionBuilder extends LogSupport

    Permalink

  20. trait SessionHolder extends AnyRef

    Permalink

    Trait for embedding Session to a user trait

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

    Permalink

    Source code location.

    Source code location.

    This code is placed under airframe-di-macros to avoid weird compilation error in IntelliJ if we place this code in airframe.

  22. 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 AirframeException extends Serializable

    Permalink
  6. object Binder extends Serializable

    Permalink
  7. object Design extends Serializable

    Permalink
  8. object EventHookHolder 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 NilLifeCycleEventHandler extends LifeCycleEventHandler

    Permalink
  15. object STARTED extends LifeCycleStage with Product with Serializable

    Permalink
  16. object STARTING extends LifeCycleStage with Product with Serializable

    Permalink
  17. object STOPPED extends LifeCycleStage with Product with Serializable

    Permalink
  18. object STOPPING extends LifeCycleStage with Product with Serializable

    Permalink
  19. object Session extends LogSupport

    Permalink
  20. object ShowDebugLifeCycleLog extends LifeCycleEventHandler

    Permalink
  21. object ShowLifeCycleLog extends LifeCycleEventHandler

    Permalink
  22. object SourceCode extends Serializable

    Permalink
  23. object Stage

    Permalink
  24. final def asInstanceOf[T0]: T0

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

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

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

    Permalink
  28. macro def bind[A, D1, D2](provider: (D1, D2) ⇒ A): A

    Permalink
  29. macro def bind[A, D1](provider: (D1) ⇒ A): A

    Permalink
  30. macro def bind[A](provider: ⇒ A): A

    Permalink
  31. macro def bind[A]: A

    Permalink

    Inject a singleton of A

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

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

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

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

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

    Permalink
  37. package canvas

    Permalink
  38. package codec

    Permalink
  39. package config

    Permalink

  40. package control

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

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

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  46. package fluentd

    Permalink

  47. def getOrElseUpdateTraitFactoryCache(s: Surface, factory: (Session) ⇒ Any): (Session) ⇒ Any

    Permalink
  48. def hashCode(): Int

    Permalink
    Definition Classes
    Any
  49. package http

    Permalink

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

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

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

    Permalink
    Definition Classes
    Any
  53. package jdbc

    Permalink
  54. package jmx

    Permalink
  55. package json

    Permalink

  56. package launcher

    Permalink
  57. package log

    Permalink

  58. macro def logAt(logLevel: LogLevel, message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  59. lazy val logger: Logger

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

    Permalink

  61. package msgpack

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

  63. def newSilentDesign: Design

    Permalink

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

  64. macro def registerTraitFactory[A]: Surface

    Permalink
  65. package surface

    Permalink

  66. package tablet

    Permalink
  67. def toString(): String

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  70. package tracing

    Permalink
  71. val traitFactoryCache: Map[Surface, (Session) ⇒ Any]

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

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  73. 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