![](https://d3ilqtpdwi981i.cloudfront.net/10sQiXxL_yp8ee9N4Nn3PmfhEJo=/425x550/smart/https://bepress-attached-resources.s3.amazonaws.com/uploads/59/88/11/5988113b-dc9c-42bb-8919-9eb295a6b5cd/thumbnail_2f166ec0-4440-4fb9-bade-c349ea4b77b0.jpg)
Article
The Parametric Singleton Design Pattern
Journal of Object Technology
Document Type
Article
Article Version
Publisher's PDF
Publication Date
3-1-2007
Disciplines
Abstract
The parametric singleton design pattern combines the singleton design pattern with a parameter that enables unique creation of instances of a class. These instances are cached in a table. When a user asks for an instance with these parameters, the table is checked and instances are created conditionally. Lazy instantiation is not new, nor, for that matter, is the singleton design pattern. However, parametric lazy instantiation is new and so is the parametric singleton.
Published Citation
Douglas Lyon, Francisco Castellanos, “The Parametric Singleton Design Pattern”, Journal of Object Technology, Volume 6, no. 3 (March 2007), pp. 13-23
DOI
10.5381/jot.2007.6.3.c2
None
Peer Reviewed
Citation Information
Douglas A. Lyon and Francisco Castellanos. "The Parametric Singleton Design Pattern" Journal of Object Technology Vol. 6 Iss. 3 (2007) Available at: http://works.bepress.com/douglas_lyon/10/
Copyright 2007 Journal of Object Technology
Archived with permission from the copyright holder.