org.inspektr.common.ioc.validation
Interface AnnotationValidator

All Known Implementing Classes:
GreaterThanAnnotationValidator, IsInAnnotationValidator, NotEmptyAnnotationValidator, NotNullAnnotationValidator

public interface AnnotationValidator

Interface for usage with the ValidationAnnotationBeanPostProcessor. Each AnnotationValidator can ensure that the rules of the particular annotation are followed.

Since:
1.0
Version:
$Revision$ $Date$
Author:
Scott Battaglia

Method Summary
 Class<? extends Annotation> supports()
           
 void validate(Field field, Annotation annotation, Object bean, String beanName)
           
 

Method Detail

validate

void validate(Field field,
              Annotation annotation,
              Object bean,
              String beanName)
              throws IllegalAccessException
Throws:
IllegalAccessException

supports

Class<? extends Annotation> supports()


Copyright © 2007-2012. All Rights Reserved.