Factory Design Patterns

Factory Design Patterns - Types

Static Factory Method Pattern

SINGLE method creating objects of SAME/SIMILAR type without specifying the concrete class (not overridable)

Factory Method Pattern

SINGLE method creating objects of SAME/SIMILAR type without specifying the concrete class (overridable)

Abstract Factory Pattern

MULTIPLE methods creating a FAMILY of DIFFERENT and/or RELATED object types without specifying the objects’ concrete classes (overridable)

Factories (FoF) Pattern

a factory that produces customizable factories during runtime

Factory Kit Pattern

provides a way to customizable factories during runtime

Resources