[hibernate-issues] [Hibernate-JIRA] Created: (BVAL-238) Support for container injection in ConstraintValidator

Gerhard Petracek (JIRA) noreply at atlassian.com
Tue Aug 30 18:39:02 EDT 2011


Support for container injection in ConstraintValidator
------------------------------------------------------

                 Key: BVAL-238
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/BVAL-238
             Project: Bean Validation
          Issue Type: New Feature
          Components: spec-general
    Affects Versions: 1.0 final
            Reporter: Gerhard Petracek


It should be possible to inject beans in implementations of javax.validation.ConstraintValidator.
E.g. MyFaces CODI supports it already for CDI (https://issues.apache.org/jira/browse/EXTCDI-20), however as mentioned in http://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-763 a generic support would have to support JSR-330 (instead of JSR-299). The final approach has to be coordinated with all other JSRs which are going to provide such an injection support.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list