Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-4550

Simplify JaninoRelMetadataProvider API for binding methods

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.28.0
    • core

    Description

      JaninoRelMetadataProvider uses the a complicated convention for binding handler instances to a the dynamically created handler.  It requires the method to stated once in Metadata, then again MetadataHandler with slightly different signature and finally again a reference to the Metadata method must be included MetadataDef.  This is needlessly rather complicated and verbose for something that is trying to reduce boiler plate.

      Having JaninoRelMetadataProvider get the declared methods directly from the handler interface would decouple JaninoRelMetadataProvider from method definitions in Metadata and MetadataDef.  

      Attachments

        Activity

          People

            jamesstarr James Starr
            jamesstarr James Starr
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h 20m
                1h 20m