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

It should be possible to redefine the default helper per script

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 1.3.0
    • 1.2.2.1
    • None

      Currently it is necessary to insert a HELPER line in a rule body in order to get it to use a different helper to the default byteman-supplied helper (org.jboss.byteman.rule.helper.Helper). It should be possible to override this default in any given script. A line of the form HELPER <classname> occuring outside of the body of a RULE will reset the default helper to <classname> for subsequent rules in the script. This should not override HELPER specifications occuring in rule bodies. It shoudl only be used as the helper is the rule does not contain its own HELPER line. Repeated HELPER lines can be used to repeatedly reset this default. If no classname is supplied the helper will revert to the default byteman-supplied helper.

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

                Created:
                Updated:
                Resolved: