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

[Java Broker] Allow annotations to define ManagedAttributeValueTypes as abstract, some methods as derived

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • qpid-java-broker-7.0.0
    • Broker-J
    • None

    Description

      ManagedAttributeValueTypes may form a type hierarchy, however there is no way for a value to be resolved to a particular instance class.

      A type can be marked as abstract meaning that it cannot itself be instantiated from an input value (i.e. it cannot be used as a managed attribute, or the input to an operation). An abstract type can be used as an output value (e.g. as a return value from an operation, or as a derived attribute).

      Further we should allow ManagedAttributeTypes to themselves have derived attributes. These attributes should be returned from query methods, but not persisted, and values for these attributes should be ignored when present in input data.

      Attachments

        Activity

          People

            rgodfrey Robert Godfrey
            rgodfrey Robert Godfrey
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: