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

New resource framework based on annotations

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      The current resource framework uses `class EigenbaseResource`, which is generated by eigenbase-resgen. https://github.com/julianhyde/optiq/issues/143 removes resgen's runtime library, so resgen is only needed during maven's generate-sources phase. But it would be better if no generation was required at all.

      I propose a set of annotations which, when applied to an interface, would allow a helper to dynamically create an implementation of that interface. Each method is backed by a resource in a ResourceBundle. Each method must have parameters that correspond to the format elements in the base message.

      ---------------- Imported from GitHub ----------------
      Url: https://github.com/julianhyde/optiq/issues/177
      Created by: julianhyde
      Labels:
      Created at: Tue Mar 11 19:51:24 CET 2014
      State: closed

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              github-import GitHub Import
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: