Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-2567

TP: break up into smaller pieces

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 5.2
    • None
    • None
    • False
    • False
    • undefined

      TP has become too big (1900 LOC); fields and getters/setters make up for ~50% of its size!
      Solution: move the fields are getters/setters into a separate superclass and/or provide separate classes for separate functionality, e.g. Bundler (similar to MsgStats):

      • XML configuration (@Property): bundler.field1=val1
      • Access to fields from main class (TP): bundler.getField1()/setField1()
      • Management: @ManagedAttribute, @ManagedOperation
      • XmlSchemaGenerator: use something like AdditionalJmxObjects to include during schema generation
      • probe: also use AdditionalJmxObjects

              rhn-engineering-bban Bela Ban
              rhn-engineering-bban Bela Ban
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: