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

[Broker-J] Properly validate @ManagedAttributeValueTypes, and allow for factory methods

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: qpid-java-broker-7.1.0
    • Component/s: Broker-J
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              kwall Keith Wall
              Reporter:
              rgodfrey Robert Godfrey
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: