org.jboss.seam.validation
Class ValidationExtension
java.lang.Object
org.jboss.seam.validation.ValidationExtension
- All Implemented Interfaces:
- javax.enterprise.inject.spi.Extension
public class ValidationExtension
- extends Object
- implements javax.enterprise.inject.spi.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
|
Method Summary |
void |
afterBeanDiscovery(javax.enterprise.inject.spi.AfterBeanDiscovery abd,
javax.enterprise.inject.spi.BeanManager bm)
|
| 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
javax.enterprise.inject.spi.AfterBeanDiscovery abd,
javax.enterprise.inject.spi.BeanManager bm)
Copyright © 2011 Seam Framework & Gunnar Morling. All Rights Reserved.