Method the module extending this trait must implement, all module initialization logic should be performed here.
Method the module extending this trait must implement, all module initialization logic should be performed here. Akkamo context is given as a parameter, allowing access to all required dependencies and allows to register module's own functionality. The boolean return value should determine whether the module has been properly initialized or not (e.g. not all dependencies are initialized yet)
Akkamo context
instance of Res that contains (new if modified) instance of eu.akkamo.Context or
exception packed in Try
Instance of eu.akkamo.Initializable is registered into the Akkamo context by default under this module class.
Instance of eu.akkamo.Initializable is registered into the Akkamo context by default under this module class. Override this method in order to achieve different registration key class, for example an interface instead of concrete implementation.
registration key class
Trait indicating that the module extending this requires to perform initialization during Akkamo startup. Initialization is the very first stage of Akkamo module lifecycle and in this stage, module should check all its required dependencies and/or register its own provided functionality into context.