Uploaded image for project: 'Hibernate Validator'
  1. Hibernate Validator
  2. HV-644

Use Jandex for annotation discovery and repository

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 6-future-planning
    • Component/s: engine
    • Labels:
      None
    • Last commented by a user?:
      true

      Description

      Creating this issue as we spoke about the possibility to use Jandex a few times, so we have a one place for discussions.

      Pro:

      • Fast meta-data retrieval when using pre-existing index

      Con:

      • Additional dependency
      • Not so good documented

      Implementation-wise it would make sense to implement this in form of another MetaDataProvider.

      We could also make meta data providers more pluggable, so we don't have a strict dependeny to this. The Jandex provider would then be plugged in under AS while in other scenarios the normal annotation-based provider would be used.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: