Should ConstraintDescriptor.getConstraintImplementation() replaced by
.getConstraintImplementationClass()?
----------------------------------------------------------------------------------------------------------
Key: BVAL-33
URL:
http://opensource.atlassian.com/projects/hibernate/browse/BVAL-33
Project: Bean Validation
Issue Type: Improvement
Components: spec-general
Reporter: Emmanuel Bernard
I don't see a use case for exposing the actual implementation instance, especially
since Context has been added to the Constraint signature.
ConstraintDescriptor could then be used as a metadata container between a Constraint
resolution strategy and the BV core engine wo having to pass the constraintFactory as a
dependency. It would also make CD serializable.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira