Apache CXF API

org.apache.cxf.validation
Class BeanValidationProvider

java.lang.Object
  extended by org.apache.cxf.validation.BeanValidationProvider

public class BeanValidationProvider
extends Object


Constructor Summary
BeanValidationProvider()
           
BeanValidationProvider(javax.validation.ParameterNameProvider parameterNameProvider)
           
BeanValidationProvider(ValidationConfiguration cfg)
           
BeanValidationProvider(javax.validation.ValidationProviderResolver resolver)
           
BeanValidationProvider(javax.validation.ValidationProviderResolver resolver, Class<javax.validation.spi.ValidationProvider<T>> providerType)
           
BeanValidationProvider(javax.validation.ValidationProviderResolver resolver, Class<javax.validation.spi.ValidationProvider<T>> providerType, ValidationConfiguration cfg)
           
BeanValidationProvider(javax.validation.ValidatorFactory factory)
           
 
Method Summary
<T> void
validateBean(T bean)
           
<T> void
validateParameters(T instance, Method method, Object[] arguments)
           
<T> void
validateReturnValue(T bean)
           
<T> void
validateReturnValue(T instance, Method method, Object returnValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanValidationProvider

public BeanValidationProvider()

BeanValidationProvider

public BeanValidationProvider(javax.validation.ParameterNameProvider parameterNameProvider)

BeanValidationProvider

public BeanValidationProvider(ValidationConfiguration cfg)

BeanValidationProvider

public BeanValidationProvider(javax.validation.ValidatorFactory factory)

BeanValidationProvider

public BeanValidationProvider(javax.validation.ValidationProviderResolver resolver)

BeanValidationProvider

public BeanValidationProvider(javax.validation.ValidationProviderResolver resolver,
                              Class<javax.validation.spi.ValidationProvider<T>> providerType)

BeanValidationProvider

public BeanValidationProvider(javax.validation.ValidationProviderResolver resolver,
                              Class<javax.validation.spi.ValidationProvider<T>> providerType,
                              ValidationConfiguration cfg)
Method Detail

validateParameters

public <T> void validateParameters(T instance,
                                   Method method,
                                   Object[] arguments)

validateReturnValue

public <T> void validateReturnValue(T instance,
                                    Method method,
                                    Object returnValue)

validateReturnValue

public <T> void validateReturnValue(T bean)

validateBean

public <T> void validateBean(T bean)

Apache CXF API

Apache CXF