org.apache.camel.component.bean.validator
Class BeanValidator
java.lang.Object
org.apache.camel.component.bean.validator.BeanValidator
- All Implemented Interfaces:
- Processor
public class BeanValidator
- extends Object
- implements Processor
Bean validator that uses the JSR 303 reference implementation
(Hibernate Validator).
- Version:
- $Revision: 938310 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BeanValidator
public BeanValidator()
process
public void process(Exchange exchange)
throws Exception
- Specified by:
process
in interface Processor
- Throws:
Exception
getValidatorFactory
public javax.validation.ValidatorFactory getValidatorFactory()
setValidatorFactory
public void setValidatorFactory(javax.validation.ValidatorFactory validatorFactory)
getValidator
public javax.validation.Validator getValidator()
getGroup
public Class getGroup()
setGroup
public void setGroup(Class group)
getMessageInterpolator
public javax.validation.MessageInterpolator getMessageInterpolator()
getTraversableResolver
public javax.validation.TraversableResolver getTraversableResolver()
getConstraintValidatorFactory
public javax.validation.ConstraintValidatorFactory getConstraintValidatorFactory()
Apache CAMEL