Registry

Registry Design Pattern
The Registry Design Pattern is a creational pattern that allows you to maintain a well-defined place for storing and retrieving objects…
https://anubhav-gupta62.medium.com/registry-design-pattern-ad4b4c3350e6

This pattern allows you to maintain a list of objects globally within an application. Each item is typically stored in a hash map, with a key pointing to the object of interest.