thanassis.com
home
blog
Online Games
Sudoku
Ivory Tower
Web Hangman
Software
Java
Object Oriented
Mobiles / J2ME
Research
C.S. Resources
Galleries
Greece
Music
Photography
Art
Personal
About me
Useful Links
Contact
Site
Downloads
My other sites
Thanassis.gr
Djangopedia
Kilogames
Xoocle
TrainJava
GameAnatomy
Latest News
Singleton
Where it can be used :
Where there must be only one instance of a specific class.
Where that only one instance should be extensible by subclassing.
Examples of use :
Monitoring the usage of a class and its objects.
Ensure a single instance - Security Manager.
All kind of registries/managers.
Benefits
Security - Robustness - Reduced name space pollution.
Previous slide
Next slide
Back to first slide
View graphic version
Web
this site
Thanassis Blog News
In the News
Deep impact smashes comet
3 Florida shark attacks in a week
Mad Cow
summit in Scotland
Search the Archives