Strategy Registry

A strategy registry removes hardcoded manual strategy selection from the basic pattern. A strategy registry discovers strategy implementations, stores them by identifier, and exposes retrieval. At runtime, callers can pass a key to receive…

1 sources - 3 claims

A strategy registry removes hardcoded manual strategy selection from the basic pattern. A strategy registry discovers strategy implementations, stores them by identifier, and exposes retrieval. At runtime, callers can pass a key to receive the correct strategy object dynamically.