org.inspektr.common.ioc.validation
Class NotNullAnnotationValidator
java.lang.Object
org.inspektr.common.ioc.validation.NotNullAnnotationValidator
- All Implemented Interfaces:
- AnnotationValidator
public final class NotNullAnnotationValidator
- extends Object
- implements AnnotationValidator
Works in conjunction with the NotNull
annotation to ensure that all
fields are properly set.
- Since:
- 1.0
- Version:
- $Revision: 1.1 $ $Date: 2007/04/09 04:30:31 $
- Author:
- Scott Battaglia
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NotNullAnnotationValidator
public NotNullAnnotationValidator()
validate
public void validate(Field field,
Annotation annotation,
Object bean,
String beanName)
throws IllegalAccessException
- Specified by:
validate
in interface AnnotationValidator
- Throws:
IllegalAccessException
supports
public Class<? extends Annotation> supports()
- Specified by:
supports
in interface AnnotationValidator
Copyright © 2007-2012. All Rights Reserved.