Skip to main content

Breaking the Singleton

Yohan Liyanage described Breaking the Singleton:

One of my colleagues at work raised a question regarding 'breaking the singleton' using Java Reflection, and asked of a way to avoid such actions. It inspired me, and started to think about a way to avoid it, and following is the outcome of it...

Community: General