JBoss MetaData Repository 2.2.0.SP1

org.jboss.annotation.factory.javassist
Class DefaultValueAnnotationValidator

java.lang.Object
  extended by 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

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

DefaultValueAnnotationValidator

public DefaultValueAnnotationValidator()
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

JBoss MetaData Repository 2.2.0.SP1

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