I have visited intrview recently and was asked how to force spring create singleton bean several time.
As I understand properly it is possible if you have a several context but I don't understand mechanism.
Please explain it for me.
github example would be nice.