All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.sf.mmm.util.validation.impl.spring.UtilValidationSpringConfig Maven / Gradle / Ivy

There is a newer version: 8.7.0
Show newest version
/* Copyright (c) The m-m-m Team, Licensed under the Apache License, Version 2.0
 * http://www.apache.org/licenses/LICENSE-2.0 */
package net.sf.mmm.util.validation.impl.spring;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

import net.sf.mmm.util.lang.impl.spring.UtilLangSpringConfig;
import net.sf.mmm.util.math.impl.spring.UtilMathSpringConfig;
import net.sf.mmm.util.validation.base.jsr303.BeanValidationProcessor;
import net.sf.mmm.util.validation.base.jsr303.BeanValidationProcessorImpl;

/**
 * This is the Spring {@link Configuration} for {@link net.sf.mmm.util.validation}.
 *
 * @author hohwille
 * @since 7.4.0
 */
@Configuration
@Import({ UtilMathSpringConfig.class, UtilLangSpringConfig.class })
@ComponentScan("net.sf.mmm.util.validation.base.jsr303.constraints")
@SuppressWarnings("javadoc")
public class UtilValidationSpringConfig {

  @Bean
  public BeanValidationProcessor beanValidationProcessor() {

    return new BeanValidationProcessorImpl();
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy