Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
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.