public class AnnotationValidatorFactory
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private static java.util.concurrent.ConcurrentHashMap<ValidateWith,AnnotationValidator> |
VALIDATORS_FOR_ANNOTATION_TYPES |
| Constructor and Description |
|---|
AnnotationValidatorFactory() |
| Modifier and Type | Method and Description |
|---|---|
AnnotationValidator |
createAnnotationValidator(ValidateWith validateWithAnnotation)
Creates the AnnotationValidator specified by the value in
ValidateWith. |
private static final java.util.concurrent.ConcurrentHashMap<ValidateWith,AnnotationValidator> VALIDATORS_FOR_ANNOTATION_TYPES
public AnnotationValidator createAnnotationValidator(ValidateWith validateWithAnnotation)
ValidateWith. Instances are
cached.