Skip to content

A Modern, Compact Implementation of the Parameterized Factory Design Pattern; article at https://bit.ly/2QX8t9C

License

Notifications You must be signed in to change notification settings

tekniqul/JavaParameterizedFactoryDesignPattern

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

JavaParameterizedFactoryDesignPattern

A Modern, Compact Implementation of the Parameterized Factory Design Pattern article at https://bit.ly/2QX8t9C

from the jot.fm January -February 2010 article abstract. Description, design and example implementation by Harold Fortuin, Principal, Fortuitous Consulting Services, Inc.:

I propose a modern OO language update of the Parameterized Factory Creational Pattern [Gamma95]. 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.