Uploaded image for project: 'Byteman'
  1. Byteman
  2. BYTEMAN-349

Clear up static resources of default Helper at deactivate

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • 3.0.11, 4.0.0
    • 3.0.10, 4.0.0-BETA5
    • Rule Helpers
    • None

    Description

      Static fields in the default helper class Helper are used to retain state created by its builtin operations such as flags, counters, trace streams etc. Rule scripts do not always clear out such rule state after a test or monitoring run.

      Ideally, when all rules employing class Helper are uninstalled the deactivated lifecycle method of class Helper should clear all such resources, ensuring that any newly loaded rules do not see rule state belonging to a previous test run or monitoring session.

      Implementation of this feature requires a prior fix to BYTEMAN-348.

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-adinn Andrew Dinn
              rhn-engineering-adinn Andrew Dinn
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: