org.jboss.annotation.factory
Interface AnnotationValidator
- All Known Implementing Classes:
- DefaultValueAnnotationValidator, SimpleAnnotationValidator
public interface AnnotationValidator
Validates that all annotations created for a proxy have been filled in.
Depending on the underlying implementation fills in missing attributes with default values.
- Version:
- $Revision: 69888 $
- Author:
- Kabir Khan
Method Summary |
void |
validate(Map<String,Object> map,
Class<?> annotation)
Validates that all annotations created for a proxy have been filled in. |
validate
void validate(Map<String,Object> map,
Class<?> annotation)
- Validates that all annotations created for a proxy have been filled in.
Depending on the underlying implementation fills in missing attributes with default values.
- Parameters:
map
- The annotation attribute valuesannotation
- The annotation type
- Throws:
AnnotationValidationException
- if some attributes were not filled in and no default value exists for that attribute
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.