Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Validation 1.0.0
-
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
Attachments
Issue Links
- is related to
-
SLING-6660 Validators should expose their id and severity
- Closed