Factory Method Pattern

Kind: pattern

Layer: Design Patterns Core

Aliases: Virtual Constructor

Record: architecture:factory-method-pattern

Severity: contextual

Scope: class hierarchy, framework

Canonical: Ontology

A design pattern in which a base class calls an overridable method to create the objects its workflow uses.

Listed in Architecture principles, after Factory Pattern and before Abstract Factory Pattern.

Requires

Reinforces

Enables

Conflicts with

In tension with

Tensions

Violated by

Severity

Category

Linked from