org.jboss.seam.validation
Class ValidationExtension

java.lang.Object
  extended by 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

Constructor Summary
ValidationExtension()
           
 
Method Summary
 void afterBeanDiscovery(AfterBeanDiscovery abd, BeanManager bm)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidationExtension

public ValidationExtension()
Method Detail

afterBeanDiscovery

public void afterBeanDiscovery(@Observes
                               AfterBeanDiscovery abd,
                               BeanManager bm)


Copyright © 2011 Seam Framework. All Rights Reserved.