Immutable airframe design.
Design instance does not hold any duplicate bindings for the same Surface.
- Companion
- object
Value members
Concrete methods
Generates a minimized design by removing overwritten bindings
Generates a minimized design by removing overwritten bindings
Create a new session.
Create a new session.
With this method, the session will not start automatically. You need to explicitly call session.start and session.shutdown to start/terminate the lifecycle of objects
Used for casting itself as Design if returning DesignWithContext type is cumbersome
Used for casting itself as Design if returning DesignWithContext type is cumbersome
Enable eager initialization of singletons services for production mode
Enable eager initialization of singletons services for production mode
Inherited methods
A helper method of creating a new session and an instance of A. This method is useful when you only need to use A as an entry point of your program. After executing the body, the sesion will be closed.
A helper method of creating a new session and an instance of A. This method is useful when you only need to use A as an entry point of your program. After executing the body, the sesion will be closed.
- Inherited from
- DesignImpl
Execute a given code block by building A using this design, and return B
Execute a given code block by building A using this design, and return B
- Inherited from
- DesignImpl