The main class was well hidden as KitodoVersionListener. I renamed it to KitodoProduction and moved it. (Git doesn't get this on top of each other and show them as new, but it is from the previous class KitodoVersionListener. If you look at the individual commits, it becomes more understandable.) The instance exposes its essential properties, and the main class now handles essential functions of starting and stopping Active MQ and stopping the task manager, that was previously scattered throughout the application. The version is now no longer returned statically, but rather out of the main class.
The main class was well hidden as
KitodoVersionListener
. I renamed it toKitodoProduction
and moved it. (Git doesn't get this on top of each other and show them as new, but it is from the previous classKitodoVersionListener
. If you look at the individual commits, it becomes more understandable.) The instance exposes its essential properties, and the main class now handles essential functions of starting and stopping Active MQ and stopping the task manager, that was previously scattered throughout the application. The version is now no longer returned statically, but rather out of the main class.I find it tidier this way.