org.jboss.aop.annotation.factory.duplicate
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: 46363 $
Author:
Kabir Khan

Method Summary
 void validate(Map map, Class annotation)
          Validates that all annotations created for a proxy have been filled in.
 

Method Detail

validate

void validate(Map 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 values
annotation - The annotation type
Throws:
AnnotationValidationException - if some attributes were not filled in and no default value exists for that attribute


Copyright © 2004 JBoss Inc. All Rights Reserved.