The SMF Decorator
Dynamically attach SMF tracking to processes.
✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Decorator
ARCANUM SCHOOL: Illusion // Augmentation
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// CODEX INCANTATION //
/* ooRexx Decorator */
::class Process
::method run
say "Running base process..."
::class SMFDecorator subclass Process
::attribute baseProcess
::method init
use arg process
self~baseProcess = process
::method run
say "Writing SMF start record..."
self~baseProcess~run()
say "Writing SMF end record..."
The Decorator weaves additional tracking and auditing charms around an existing routine without altering its original essence.
Runic Tags:
#decorator
#smf
#rexx