✨ ARCANUM RUNE DIFFICULTY: Adept Creational

The Abstract Factory of the Mainframe

Conjure families of related mainframe orchestrators without specifying their concrete classes.

✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Abstract Factory
ARCANUM SCHOOL: Conjuration // Subsystems
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// CODEX INCANTATION //
/* ooRexx Abstract Factory */
::class MainframeFactory
::method createJob
::method createDataset

::class ZOSFactory subclass MainframeFactory
::method createJob
  return .ZOSJob~new()
::method createDataset
  return .ZOSDataset~new()

::class VSEFactory subclass MainframeFactory
::method createJob
  return .VSEJob~new()
::method createDataset
  return .VSEDataset~new()

In the deep halls of the mainframe, the Abstract Factory dictates the architecture of dataset generation and job control protocols, summoning z/OS or z/VSE constructs dynamically.

Runic Tags: #abstract-factory #mainframe #rexx