Package org.springmodules.validation.bean.conf.loader.annotation.handler

Examples of org.springmodules.validation.bean.conf.loader.annotation.handler.MethodValidationAnnotationHandler


            Annotation[] annotations = method.getAnnotations();
            for (Annotation annotation : annotations) {
                if (!isValidationAnnotation(annotation)) {
                    continue;
                }
                MethodValidationAnnotationHandler handler = handlerRegistry.findMethodHandler(annotation, clazz, method);
                if (handler == null) {
                    logger.warn("No handler is defined for annotation '" + annotation.annotationType().getName() +
                        "'... Annotation will be ignored...");
                } else {
                    handler.handleAnnotation(annotation, clazz, method, configuration);
                }
            }
        }
    }
View Full Code Here

TOP

Related Classes of org.springmodules.validation.bean.conf.loader.annotation.handler.MethodValidationAnnotationHandler

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.