Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-62

Split out RuntimeContext into separate sub-interfaces, for testability and understanding (ie, the interface separation principle).

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.1.2-incubating
    • Core
    • None

    Description

      The org.apache.isis.core.metamodel.runtimecontext.RuntimeContext interface is used to decouple the metamodel from the runtime implementations.

      There are a lot of methods in this interface, and it is passed into multiple classes within the metamodel. This makes it hard to understand which methods are used by which classes.

      This issue is to split the interface out so that dependencies are narrower (interface separation principle). This should make it easier to write tests, and the codebase easier to understand (I hope).

      This principally impacts the metamodel, but also the progmodel.

      Attachments

        Activity

          People

            danhaywood Daniel Keir Haywood
            danhaywood Daniel Keir Haywood
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: