You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Rob Godfrey (JIRA)" <ji...@apache.org> on 2018/03/29 10:45:00 UTC

[jira] [Created] (QPID-8143) [Broker-J] Properly validate @ManagedAttributeValueTypes, and allow for factory methods

Rob Godfrey created QPID-8143:
---------------------------------

             Summary: [Broker-J] Properly validate @ManagedAttributeValueTypes, and allow for factory methods
                 Key: QPID-8143
                 URL: https://issues.apache.org/jira/browse/QPID-8143
             Project: Qpid
          Issue Type: Improvement
          Components: Broker-J
            Reporter: Rob Godfrey


Currently types annotated with the {{@ManagedAttributeValueType}} annotation are not correctly validated (the validator is not being run).

Such types should be interfaces with only accessor methods unless they are marked as "abstract" which means they cannot be instantiated from input.  For abstract types, allow the use of classes as well as interfaces.  For non-abstract types allow the use of a factory method rather than forcing the use of proxy classes.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org