This works as intended, instantiating the class.
But the problem comes when the first request to the application also instantiates the class effectively creating a second singleton.
I suspect that the singleton in the new Module may be created in a separate "Guice application context"? or are multiple class loaders in play?
Can anyone point me the right direction for handling this situation of instantiating a @Singleton bean on application boot, in a way where that specific instance will be the one to later be injected into for example a Controller?
Thank you.
Kim