A helper method of creating a new session and an instance of A.
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.
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
Method for configuring the session in details
Do not initialize singletons for debugging
Enable eager initialization of singletons services for production mode
Run the code block with a new session.
Run the code block with a new session.
This method will create a new session, start it, run the given code block, and finally terminate the session after the code block completion.
Use a custom binding tracer
Immutable airframe design.
Design instance does not hold any duplicate bindings for the same Surface.