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

New resource framework based on annotations

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • None

    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment