Search

A Modern, Compact Implementation of the Parameterized Factory Design Pattern

By: Harold Fortuin

Abstract

A modern OO language update of the Parameterized Factory Creational Pattern is presented. It is compact since it folds the Factory method into an abstract base class, and imposes a package structure on its concrete subclasses. The design is demonstrated in Java, but is also applicable to C# and other modern object-oriented languages.

Cite as:

Harold Fortuin, “A Modern, Compact Implementation of the Parameterized Factory Design Pattern”, Journal of Object Technology, Volume 9, no. 1 (January 2010), pp. 57-63, doi:10.5381/jot.2010.9.1.c5.

PDF | HTML | DOI | BiBTeX | Tweet this | Post to CiteULike | Share on LinkedIn