The Mediator
Define an object that encapsulates how a set of mainframe subsystems interact.
✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Mediator
ARCANUM SCHOOL: Enchantment // Coordination
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// PLI PATTERN //
/* The Mediator */
MEDIATOR: PROC OPTIONS(MAIN);
DCL NOTIFY ENTRY(POINTER, CHAR(20));
PUT SKIP LIST('Mediating signals between core subsystems...');
END MEDIATOR;
The Mediator forces monolithic subsystems to communicate via a central hub, preventing a tangled web of dependencies.
Runic Tags:
#mediator
#coordination
#subsystem