T
- type of items to validatepublic class BeanValidatingItemProcessor<T> extends ValidatingItemProcessor<T>
ValidatingItemProcessor
that uses the Bean Validation API (JSR-303)
to validate items.Constructor and Description |
---|
BeanValidatingItemProcessor()
Create a new instance of
BeanValidatingItemProcessor with the
default configuration. |
BeanValidatingItemProcessor(org.springframework.validation.beanvalidation.LocalValidatorFactoryBean localValidatorFactoryBean)
Create a new instance of
BeanValidatingItemProcessor . |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
process, setFilter, setValidator
public BeanValidatingItemProcessor()
BeanValidatingItemProcessor
with the
default configuration.public BeanValidatingItemProcessor(org.springframework.validation.beanvalidation.LocalValidatorFactoryBean localValidatorFactoryBean)
BeanValidatingItemProcessor
.localValidatorFactoryBean
- used to configure the Bean Validation validatorpublic void afterPropertiesSet() throws java.lang.Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
afterPropertiesSet
in class ValidatingItemProcessor<T>
java.lang.Exception