It provides 2 different singleton ObjectMapper instances.
See master-module/BeansConfiguration
In order to verify that they are singleton run the test in module-1
and examine the printed output.
An empty parent module that contains 3 modules with dependencies to each other. Highlights:
- Common dependencies in parents build gradle
- Dynamic module inclusion/exclusion (see the usage of
activeClientModule
) - Check the empty
beans.xml
usage that is needed for providing beans from one module to another
Check the 2 service classes and how they get their dependencies through constructor injection.