Keith Wall created QPID-7068:
--------------------------------

             Summary: Drive AbstractConfiguredObject#validationChange from 
reflection rather than attribute metadata
                 Key: QPID-7068
                 URL: https://issues.apache.org/jira/browse/QPID-7068
             Project: Qpid
          Issue Type: Improvement
          Components: Java Broker
            Reporter: Keith Wall


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to