org.jboss.jca.core.bv
Class BeanValidation

java.lang.Object
  extended by org.jboss.jca.core.bv.BeanValidation

public class BeanValidation
extends Object

Bean validation implementation backed by Hibernate Validator

Version:
$Revision: $
Author:
Jesper Pedersen

Constructor Summary
BeanValidation()
          Constructor
 
Method Summary
 javax.validation.Validator getValidator()
          Get the validator
 javax.validation.ValidatorFactory getValidatorFactory()
          Get the validator factory
 void start()
          Start
 void stop()
          Stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanValidation

public BeanValidation()
Constructor

Method Detail

getValidatorFactory

public javax.validation.ValidatorFactory getValidatorFactory()
Get the validator factory

Returns:
The factory

getValidator

public javax.validation.Validator getValidator()
Get the validator

Returns:
The validator

start

public void start()
           throws Throwable
Start

Throws:
Throwable - If an error occurs

stop

public void stop()
          throws Throwable
Stop

Throws:
Throwable - If an error occurs


Copyright © 2008 Red Hat Middleware LLC (http://www.jboss.com/)