[jboss-jira] [JBoss JIRA] (WFLY-529) Work on CDI + Bean Validation integration for method validation
Farah Juma (JIRA)
jira-events at lists.jboss.org
Tue Jul 2 17:25:21 EDT 2013
[ https://issues.jboss.org/browse/WFLY-529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12787076#comment-12787076 ]
Farah Juma commented on WFLY-529:
---------------------------------
Created a pull request: https://github.com/wildfly/wildfly/pull/4727
Gunnar, Hardy, and I broke down this JIRA into a few steps:
1) Add a module for the Hibernate Validator CDI portable extension
2) Replace the delegate of the EE LazyValidatorFactory with the CDI-enabled ValidatorFactory provided by the CDI portable extension
3) See how Jandex can be used for subtype retrieval to avoid having to specify @ValidateOnExecution(IMPLICIT)
4) See how Jandex can be used to speed up constraint metadata retrieval
The above pull request addresses steps 1 and 2. All tests in the Bean Validation TCK now pass with these changes.
I'll be working on steps 3 and 4 next to try to optimize the CDI portable extension by making use of the Jandex index.
> Work on CDI + Bean Validation integration for method validation
> ---------------------------------------------------------------
>
> Key: WFLY-529
> URL: https://issues.jboss.org/browse/WFLY-529
> Project: WildFly
> Issue Type: Sub-task
> Components: EE
> Reporter: Emmanuel Bernard
> Assignee: Farah Juma
> Fix For: 8.0.0.Alpha3
>
>
> Bean Validation and CDI needs to integrate to validate method parameters and return values. This can be done via a portable extension but [~jason.greene] was mentioning doing something proprietary to speed up the bootstrap process.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list