Package org.apache.bval.jsr
Class ConstraintDefaults
- java.lang.Object
-
- org.apache.bval.jsr.metadata.ValidatorMappingProvider
-
- org.apache.bval.jsr.metadata.ClassLoadingValidatorMappingProvider
-
- org.apache.bval.jsr.ConstraintDefaults
-
public class ConstraintDefaults extends ClassLoadingValidatorMappingProvider
Description: Provides access to the default constraints/validator implementation classes built into the framework. These are configured in DefaultConstraints.properties.
-
-
Field Summary
Fields Modifier and Type Field Description static ConstraintDefaults
INSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <A extends Annotation>
ValidatorMapping<A>doGetValidatorMapping(Class<A> constraintType)
protected ClassLoader
getClassLoader()
-
Methods inherited from class org.apache.bval.jsr.metadata.ClassLoadingValidatorMappingProvider
load
-
Methods inherited from class org.apache.bval.jsr.metadata.ValidatorMappingProvider
getValidatorMapping
-
-
-
-
Field Detail
-
INSTANCE
public static final ConstraintDefaults INSTANCE
-
-
Method Detail
-
doGetValidatorMapping
public <A extends Annotation> ValidatorMapping<A> doGetValidatorMapping(Class<A> constraintType)
- Specified by:
doGetValidatorMapping
in classValidatorMappingProvider
-
getClassLoader
protected ClassLoader getClassLoader()
- Overrides:
getClassLoader
in classClassLoadingValidatorMappingProvider
-
-