Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-3499

Support custom annotations with Sling Models

    XMLWordPrintableJSON

Details

    Description

      To support custom annotations the API needs to be extended.
      The reasons for custom annotations are listed in http://www.mail-archive.com/dev%40sling.apache.org/msg27918.html. Also it is much more comfortable for developers, since they can use code completion in the IDE to see which options are available for each injector-specific annotation, apart from that it is less code to write (instead of multiple annotations on one field/method I would only have to write one annotation with some attributes).

      Attachments

        1. SLING-3499-Documentation-v1.patch
          4 kB
          Konrad Windszus
        2. SLING-3499-Documentation-v2.patch
          4 kB
          Konrad Windszus

        Activity

          People

            justinedelson Justin Edelson
            kwin Konrad Windszus
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: