A trait for embedding Session to user traits or classes
Immutable airframe design.
Immutable airframe design.
Design instance does not hold any duplicate bindings for the same Surface.
Design configs
DesignWithContext[A] is a wrapper of Design class for chaining lifecycle hooks for the same type A.
DesignWithContext[A] is a wrapper of Design class for chaining lifecycle hooks for the same type A. This can be safely cast to just Design
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.
Session manages injected objects (e.g., Singleton)
A hack to embed source code location where DI is used
Inject a singleton of A
Create a new instance of A using the provider function that receives dependencies of D1, D2, D3, D4, and D5.
Create a new instance of A using the provider function that receives dependencies of D1, D2, D3, D4, and D5. The lifecycle of the generated instance of A will be managed by the current session
Create a new instance of A using the provider function that receives dependencies of D1, D2, D3, and D4.
Create a new instance of A using the provider function that receives dependencies of D1, D2, D3, and D4. The lifecycle of the generated instance of A will be managed by the current session
Create a new instance of A using the provider function that receives dependencies of D1, D2, and D3.
Create a new instance of A using the provider function that receives dependencies of D1, D2, and D3. The lifecycle of the generated instance of A will be managed by the current session
Create a new instance of A using the provider function that receives dependencies of D1 and D2.
Create a new instance of A using the provider function that receives dependencies of D1 and D2. The lifecycle of the generated instance of A will be managed by the current session
Create a new instance of A using the provider function that receives a dependency of D1.
Create a new instance of A using the provider function that receives a dependency of D1. The lifecycle of the generated instaance of A will be managed by the current session
Create a new instance of A using the provider function.
Create a new instance of A using the provider function. The lifecycle of the generated instance of A will be managed by the current session.
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]
Create an empty design, which sends life cycle logs to debug log level
(Since version 19.11.0) Use design.bind[A].toProvider(...) bindLocal{ ...} instead
(Since version 19.11.0) Use design.bind[A].toProvider(...) bindLocal{ ... } instead
(Since version 19.11.0) Use design.bind[A].toProvider(...) or bindLocal{ ... } instead
(Since version 19.11.0) Use design.bind[A].toProvider(...) or in-trait bindLocal{...} instead
(Since version 19.11.0) Use design.bind[A].toProvider(...) or in-trait bindLocal{...} instead
(Since version 19.11.0) Use design.bind[A].toProvider(...) or in-trait bindLocal{...} instead