org.jboss.annotation.factory
Class SimpleAnnotationValidator

java.lang.Object
  extended by org.jboss.annotation.factory.SimpleAnnotationValidator
All Implemented Interfaces:
AnnotationValidator

public class SimpleAnnotationValidator
extends Object
implements AnnotationValidator

Validates if all attributes have been filled in for an annotation. Makes no attempt to read default values

Version:
$Revision: 69888 $
Author:
Kabir Khan

Constructor Summary
SimpleAnnotationValidator()
           
 
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
 

Constructor Detail

SimpleAnnotationValidator

public SimpleAnnotationValidator()
Method Detail

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 values
annotation - The annotation type


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.