Package org.apache.cxf.validation
Class BeanValidationProvider
java.lang.Object
org.apache.cxf.validation.BeanValidationProvider
- All Implemented Interfaces:
AutoCloseable
-
Constructor Summary
ConstructorDescriptionBeanValidationProvider
(jakarta.validation.ParameterNameProvider parameterNameProvider) BeanValidationProvider
(jakarta.validation.ValidationProviderResolver resolver) BeanValidationProvider
(jakarta.validation.ValidationProviderResolver resolver, Class<U> providerType) BeanValidationProvider
(jakarta.validation.ValidationProviderResolver resolver, Class<U> providerType, ValidationConfiguration cfg) BeanValidationProvider
(jakarta.validation.Validator validator) BeanValidationProvider
(jakarta.validation.ValidatorFactory factory) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
<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)
-
Constructor Details
-
BeanValidationProvider
public BeanValidationProvider() -
BeanValidationProvider
public BeanValidationProvider(jakarta.validation.ParameterNameProvider parameterNameProvider) -
BeanValidationProvider
-
BeanValidationProvider
public BeanValidationProvider(jakarta.validation.Validator validator) -
BeanValidationProvider
public BeanValidationProvider(jakarta.validation.ValidatorFactory factory) -
BeanValidationProvider
public BeanValidationProvider(jakarta.validation.ValidationProviderResolver resolver) -
BeanValidationProvider
public BeanValidationProvider(jakarta.validation.ValidationProviderResolver resolver, Class<U> providerType) -
BeanValidationProvider
public BeanValidationProvider(jakarta.validation.ValidationProviderResolver resolver, Class<U> providerType, ValidationConfiguration cfg)
-
-
Method Details
-
validateParameters
-
validateReturnValue
-
validateReturnValue
public <T> void validateReturnValue(T bean) -
validateBean
public <T> void validateBean(T bean) -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-