Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-34798

Replace subclasses of ServiceContext with decorations and flexible initialization code

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.0.3, 4.1.1
    • Affects Version/s: None
    • Component/s: Internal Code
    • None
    • Fully Compatible
    • v4.0, v3.6
    • 61

      The code in the subclasses of ServiceContext could be easily moved into a single, separate library of global free functions that operate on instances of ServiceContext. This would allow us to get rid of the various subclasses of ServiceContext, allowing us to simplify testing infrastructure.

            Assignee:
            schwerin@mongodb.com Andy Schwerin
            Reporter:
            schwerin@mongodb.com Andy Schwerin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: