Uploaded image for project: 'Torque'
  1. Torque
  2. TORQUE-159

Split generated peer classes into implementation and a static wrapper

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.3
    • 4.0-beta1
    • None
    • None

    Description

      The peer classes are accessed in a static way so the behavior cannot be changed at runtime. This is bad e.g. when one wants to insert mock classes for testing.
      Therefore, the peer classes shoul be plit into a static wrapper which holds an implementation class and delegates all function calls to the implementation class. the implementation can be exchanged via a setter. The static fields should stay in the static wrapper.

      Attachments

        Activity

          People

            tfischer Thomas Fox
            tfischer Thomas Fox
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: