Each Akkamo module must override this method in order to exactly define its module dependencies, otherwise there will be risk that it will not be initialized and run in proper order.
Each Akkamo module must override this method in order to exactly define its module
dependencies, otherwise there will be risk that it will not be initialized and run in proper
order. Fox example if this module depends on modules ModuleA
and ModuleB
, then the
overridden method should look like:
override def dependencies(dependencies: Dependency): Dependency = dependencies.&&[ModuleA].&&[ModuleB]ś
instance of eu.akkamo.Dependency
chained module dependencies
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
Initializes Typesafe Config configuration and registers into the Akkamo context.
Initializes Typesafe Config configuration and registers into the Akkamo context.
Akkamo context
true
if the module has been properly initialized
Default implementation of toString
of Akkamo module returns the module name itself
(simple class name).
Default implementation of toString
of Akkamo module returns the module name itself
(simple class name).
simple class name of the Akkamo module
Module providing application-wide configuration, using the Typesafe Config library. For further details about configuration syntax and usage, please refer to Typesafe Config homepage: https://github.com/typesafehub/config.