org.jboss.annotation.factory.javassist
Class DefaultValueAnnotationValidator
java.lang.Object
org.jboss.annotation.factory.javassist.DefaultValueAnnotationValidator
- All Implemented Interfaces:
- AnnotationValidator
public class DefaultValueAnnotationValidator
- extends Object
- implements AnnotationValidator
Validates if all attributes have been filled in for an annotation.
Attempts to read default values where they exist
- 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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultValueAnnotationValidator
public DefaultValueAnnotationValidator()
validate
public void validate(Map<String,Object> map,
Class<?> annotation)
- Description copied from 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.
- Specified by:
validate
in interface AnnotationValidator
- Parameters:
map
- The annotation attribute valuesannotation
- The annotation type
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.