Factory Design Patterns
- is a family of creational patterns for creating objects
Factory Design Patterns - Types
|
SINGLE method creating objects of SAME/SIMILAR type without specifying the concrete class (not overridable) | |
|
SINGLE method creating objects of SAME/SIMILAR type without specifying the concrete class (overridable) | |
|
MULTIPLE methods creating a FAMILY of DIFFERENT and/or RELATED object types without specifying the objects’ concrete classes (overridable) | |
|
a factory that produces customizable factories during runtime | |
|
provides a way to customizable factories during runtime |