Singleton Pattern

Kind: pattern

Layer: Design Patterns Core

Aliases: Singleton

Record: architecture:singleton-pattern

Severity: discouraged

Scope: object_creation, lifetime, composition root

Canonical: Ontology

A design pattern that restricts a class to one instance, reached through a global access point.

Listed in Architecture principles, after Prototype Pattern and before Adapter Pattern.

Requires

Reinforces

Enables

Conflicts with

In tension with

Tensions

Violated by

Refactored by

Severity

Category

Force

Linked from