[jboss-dev-forums] [Design the new POJO MicroContainer] - Making bean validaton part of kernel configuration

alesj do-not-reply at jboss.com
Wed May 27 08:20:14 EDT 2009


Looking at the code, I saw I did a crappy job of how we check for bean validators.
It just doesn't scale well by default. :-(

So, I did a little change, creating a KernelBeanValidator hanging from Kernel.
Hence it means it gets configured as part of Kernel.

It's a bit twisted by how it's done, in order to be back compatible.
You can trace the changes from KernelControllerContextAction::getBeanValidatorBridge.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4233583#4233583

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4233583



More information about the jboss-dev-forums mailing list