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

Use "validator.id" property instead of class name to reference validators

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Validation 1.0.0
    • Validation 1.0.0
    • Validation
    • None

    Description

      Leveraging the component's "validator.id" property value instead of its classname is more stable (even if implementation changes, the PID might stay the same) and also allows for configuration factories to refer to a specific validator configuration. Using a predefined property like "service.pid" or "component.name" is not possible/recommended, as those are used for other purposes and are not necessarily there under all circumstances.

      Attachments

        1. SLING-6578-v01.patch
          15 kB
          Konrad Windszus

        Issue Links

          Activity

            People

              kwin Konrad Windszus
              kwin Konrad Windszus
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: