org.jboss.seam.validation
Class ValidationExtension
java.lang.Object
org.jboss.seam.validation.ValidationExtension
- All Implemented Interfaces:
- Extension
public class ValidationExtension
- extends Object
- implements Extension
A CDI portable extension which registers beans for ValidatorFactory
and Validator
, if such beans not yet exist (which for instance would
be the case in a Java EE 6 container). Furthermore a MethodValidator
bean is registered. All registered beans will be ApplicationScoped
.
- Author:
- Gunnar Morling
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ValidationExtension
public ValidationExtension()
afterBeanDiscovery
public void afterBeanDiscovery(@Observes
AfterBeanDiscovery abd,
BeanManager bm)
Copyright © 2011 Seam Framework. All Rights Reserved.