[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Making bean validaton part of kernel configuration
alesj
do-not-reply at jboss.com
Wed May 27 11:43:26 EDT 2009
"jaikiran" wrote :
| Is such validation using BeanValidatorBridge being currently done?
| And what kind of validations are these? Looking at the method singatures, looks like it validates the "type" of the target object/parametes?
|
The bean validation is already used, if you installed some BeanValidatorBridge bean.
See old impl of KernelControllerContextAction.
This is meant to be a bridge between jsr303 (Emmanuel's bean validation) and our MC bean validation.
It validates different states of the bean, see the BVB interface and/or jsr303 for more details.
But the old way of looking for a validator was not very performance friendly.
Hence the change, which is done much better.
Can you check if it makes any difference?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4233658#4233658
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4233658
More information about the jboss-dev-forums
mailing list