[hibernate-issues] [Hibernate-JIRA] Created: (BVAL-33) Should ConstraintDescriptor.getConstraintImplementation() replaced by .getConstraintImplementationClass()?

Emmanuel Bernard (JIRA) noreply at atlassian.com
Thu Oct 9 19:45:04 EDT 2008


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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list