public class BeanValidatorModule extends Object
Constructor and Description |
---|
BeanValidatorModule() |
Modifier and Type | Method and Description |
---|---|
static void |
bind(ServiceBinder binder) |
static Validator |
buildBeanValidator(ValidatorFactory validatorFactory,
PropertyShadowBuilder propertyShadowBuilder) |
static ValidatorFactory |
buildValidatorFactory(BeanValidatorSource beanValidatorSource,
PropertyShadowBuilder propertyShadowBuilder) |
static void |
contributeBeanValidatorGroupSource(Configuration<Class> configuration) |
static void |
contributeBeanValidatorSource(OrderedConfiguration<BeanValidatorConfigurer> configuration,
ThreadLocale threadLocale) |
static void |
contributeClientConstraintDescriptorSource(JavaScriptSupport javaScriptSupport,
Configuration<ClientConstraintDescriptor> configuration) |
static void |
contributeServiceOverride(MappedConfiguration<Class,Object> configuration,
FieldValidatorDefaultSource source) |
public BeanValidatorModule()
public static void bind(ServiceBinder binder)
public static void contributeServiceOverride(MappedConfiguration<Class,Object> configuration, @Local FieldValidatorDefaultSource source)
public static Validator buildBeanValidator(ValidatorFactory validatorFactory, PropertyShadowBuilder propertyShadowBuilder)
public static ValidatorFactory buildValidatorFactory(BeanValidatorSource beanValidatorSource, PropertyShadowBuilder propertyShadowBuilder)
public static void contributeBeanValidatorGroupSource(Configuration<Class> configuration)
public static void contributeBeanValidatorSource(OrderedConfiguration<BeanValidatorConfigurer> configuration, ThreadLocale threadLocale)
public static void contributeClientConstraintDescriptorSource(JavaScriptSupport javaScriptSupport, Configuration<ClientConstraintDescriptor> configuration)
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.