Package org.springframework.validation.annotation

Examples of org.springframework.validation.annotation.Validated


   * on the containing target class of the method.
   * @param invocation the current MethodInvocation
   * @return the applicable validation groups as a Class array
   */
  protected Class[] determineValidationGroups(MethodInvocation invocation) {
    Validated valid = AnnotationUtils.findAnnotation(invocation.getThis().getClass(), Validated.class);
    return (valid != null ? valid.value() : new Class[0]);
  }
View Full Code Here


   * on the containing target class of the method.
   * @param invocation the current MethodInvocation
   * @return the applicable validation groups as a Class array
   */
  protected Class[] determineValidationGroups(MethodInvocation invocation) {
    Validated valid = AnnotationUtils.findAnnotation(invocation.getThis().getClass(), Validated.class);
    return (valid != null ? valid.value() : new Class[0]);
  }
View Full Code Here

   * on the containing target class of the method.
   * @param invocation the current MethodInvocation
   * @return the applicable validation groups as a Class array
   */
  protected Class<?>[] determineValidationGroups(MethodInvocation invocation) {
    Validated valid = AnnotationUtils.findAnnotation(invocation.getThis().getClass(), Validated.class);
    return (valid != null ? valid.value() : new Class<?>[0]);
  }
View Full Code Here

TOP

Related Classes of org.springframework.validation.annotation.Validated

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.