net.sf.oval.configuration
Interface Configurer
- All Known Implementing Classes:
- AnnotationsConfigurer, BeanValidationAnnotationsConfigurer, JPAAnnotationsConfigurer, POJOConfigurer, XMLConfigurer
public interface Configurer
- Author:
- Sebastian Thomschke
getClassConfiguration
ClassConfiguration getClassConfiguration(Class<?> clazz)
throws InvalidConfigurationException
- Returns the constraint configurations for the given class. This method
is invoked only once by the Validator, the very first time an object
of the given class needs to be validated. The constraint configuration
is then translated into an Validator internal format and cached.
- Parameters:
clazz
- the class to get the configuration for
- Returns:
- The constraint configurations for the given class.
- Throws:
InvalidConfigurationException
- in case of illegal configuration settings
getConstraintSetConfiguration
ConstraintSetConfiguration getConstraintSetConfiguration(String constraintSetId)
throws InvalidConfigurationException
- Returns the constraint configuration for the constraint set with the
given Id.
- Parameters:
constraintSetId
- the ID of the constraint set
- Returns:
- The constraint configuration for the constraint set with the given Id.
- Throws:
InvalidConfigurationException
- in case of illegal configuration settings
Copyright © 2005-2013 The OVal Development Team. All Rights Reserved.