Replace Singletons With Singleton

many singleton classes complicate the design
preserve uniqueness of the instances with a singleton and convert the original to ordinary classes

Context:
Replace Singletons With Singleton can be seen as a special case of Introduce Indirection where the indirection serves to preserve the global accessing point while converting the Singletons to regular classes.

Refactoring Thumbnails, Copyright © 2004 - 2005, Sven Gorts, All Rights Reserved.

[ Overview Page ] [ Thumbnail Catalog ]