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

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


            if (PropertyValidationAnnotationHandler.class.isInstance(handler)) {
                propertyHandlers.add(handler);
            } else if (ClassValidationAnnotationHandler.class.isInstance(handler)) {
                classHandlers.add(handler);
            } else if (ValidationAnnotationHandlersBundle.class.isInstance(handler)) {
                ValidationAnnotationHandlersBundle source = (ValidationAnnotationHandlersBundle) handler;
                propertyHandlers.addAll(source.getPropertyHandlers());
                classHandlers.addAll(source.getClassHandlers());
            } else {
                throw new ValidationConfigurationException("class '" + className + "' is not a property hanlder nor a class handler");
            }
        }
        registryBuilder.addPropertyValue(
View Full Code Here

TOP

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

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.