Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-7068

Drive AbstractConfiguredObject#validationChange from reflection rather than attribute metadata

    XMLWordPrintableJSON

Details

    Description

      A defect came to light where a org.apache.qpid.server.model.AbstractConfiguredObject#validateChange failed internally with an UnsupportedMethodException from AbstractConfiguredObject.java:2902.

      The particular problem was caused by the overriding of ACO#getName in an implementation's interface. This was hiding the attribute's annotation and prevented AttributeGettingHandler from locating the validation proxy method.

      This highlighted the need to change AttributeGettingHandler to drive the validation using reflected metadata, rather the the attribute metadata.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kwall Keith Wall
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: