Class BeanValidationItemProcessor
- java.lang.Object
-
- org.apache.batchee.extras.validation.BeanValidationItemProcessor
-
- All Implemented Interfaces:
javax.batch.api.chunk.ItemProcessor
public class BeanValidationItemProcessor extends Object implements javax.batch.api.chunk.ItemProcessor
-
-
Constructor Summary
Constructors Constructor Description BeanValidationItemProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected javax.validation.Validator
getValidator()
protected Class<?>
loadGroup()
Object
processItem(Object item)
-
-
-
Method Detail
-
processItem
public Object processItem(Object item) throws Exception
- Specified by:
processItem
in interfacejavax.batch.api.chunk.ItemProcessor
- Throws:
Exception
-
loadGroup
protected Class<?> loadGroup() throws ClassNotFoundException
- Throws:
ClassNotFoundException
-
getValidator
protected javax.validation.Validator getValidator() throws NamingException
- Throws:
NamingException
-
-