Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-313

ExecutionContext story should be simplified by eliminating ExecutionContextFactory

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • 0.4
    • 0.3
    • Graph (2.x)
    • None

    Description

      The relationship between the concrete ExecutionContext class and its implemented ExecutionContextFactory interface is a bit confusing and non-intuitive. In particular, it's not really clear without understanding the implementation of ExecutionContext when to use the ExecutionContext constructor vs. the factory's create methods. The factory should be eliminated, and the relevant "create" methods in the context should be changed to "with" methods, mimicking the other existing, more readable pattern used by ExecutionContext to, for instance, create a context with a different namespace registry.

      Attachments

        Issue Links

          Activity

            People

              rhauch Randall Hauch (Inactive)
              teiid John Verhaeg (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: