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

Gerhard Petracek (JIRA) noreply at atlassian.com
Wed Aug 31 14:59:02 EDT 2011


    [ http://opensource.atlassian.com/projects/hibernate/browse/BVAL-238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43424#comment-43424 ] 

Gerhard Petracek commented on BVAL-238:
---------------------------------------

This issue is like a placeholder for this topic. As mentioned in http://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-763 spec leads should discuss this topic with the EG of the platform JSR.

> 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