Tuesday, April 15, 2008

Simply Singleton - Singleton patterns in Java

Simply Singleton

Sometimes it's appropriate to have exactly one instance of a class: window managers, print spoolers, and filesystems are prototypical examples. Typically, those types of objects—known as singletons—are accessed by disparate objects throughout a software system, and therefore require a global point of access.

No comments: