Object Oriented Software Engineering   View all facts   Glossary   Help
subject > pattern > design pattern > singleton
Next design patternabstraction-occurrence    Updesign pattern    Previous design patternrelated pattern   

singleton
subjectfact 
singletonhas definition A pattern that ensures that a certain class can have only one instance2001-08-30 14:57:31.0
has context 2001-08-30 14:57:31.0
has example the Company or University classes in systems that run the business of that company or university2001-08-30 14:57:31.0
has forces 2001-08-30 14:57:31.0
has problem How do you ensure that it is never possible to create more than one instance of a singleton class?2001-08-30 14:57:31.0
has references one of the Gang of Four patterns.2001-08-30 14:57:31.0
has solution In a singleton class, create the following:2001-08-30 14:57:31.0
is a subtopic of 6.5 - The Singleton Pattern2001-08-30 14:57:31.0
is an instance of design pattern2001-08-30 14:57:31.0
design patternhas antipatterns zero or more antipatterns - solutions that are inferior or do not work in this context with the reason for their rejection2001-08-30 14:55:16.0
has name2001-08-30 14:55:16.0
has related patterns zero or more related design patterns2001-08-30 14:55:16.0
should be illustrated using a simple diagram2001-08-30 14:55:16.0
should be written using a narrative writing style2001-08-30 14:55:16.0
patternshould be as general as possible2001-08-30 14:56:56.0
should be described in an easy-to-understand form so that people can determine when and how to use it2001-08-30 14:56:56.0
should contain a solution that has been proven to effectively solve the problem in the indicated context2001-08-30 14:56:56.0

Next design patternabstraction-occurrence    Updesign pattern    Previous design patternrelated pattern