p

wvlet

airframe

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
  2. class Binder[A] extends LogSupport

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

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

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

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

    LifeCycleManager manages the life cycle of objects within a Session

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

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

  16. trait Session extends AutoCloseable

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

  17. class SessionBuilder extends LogSupport

  18. trait SessionHolder extends AnyRef

    Trait for embedding Session to a user trait

  19. sealed trait Stage extends AnyRef

Abstract Value Members

  1. abstract def getClass(): Class[_]
    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 Airframe

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

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

  44. object INIT extends LifeCycleStage with Product with Serializable
  45. object JSR250LifeCycleExecutor extends LifeCycleEventHandler

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

Inherited from LogSupport

Inherited from LazyLogger

Inherited from LoggingMethods

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped