Example usage for org.springframework.data.rest.webmvc.config RepositoryRestConfigurer configureValidatingRepositoryEventListener

List of usage examples for org.springframework.data.rest.webmvc.config RepositoryRestConfigurer configureValidatingRepositoryEventListener

Introduction

In this page you can find the example usage for org.springframework.data.rest.webmvc.config RepositoryRestConfigurer configureValidatingRepositoryEventListener.

Prototype

default void configureValidatingRepositoryEventListener(ValidatingRepositoryEventListener validatingListener) 

Source Link

Document

Override this method to add validators manually.

Usage

From source file:org.springframework.data.rest.webmvc.config.RepositoryRestConfigurerDelegate.java

@Override
public void configureValidatingRepositoryEventListener(ValidatingRepositoryEventListener validatingListener) {

    for (RepositoryRestConfigurer configurer : delegates) {
        configurer.configureValidatingRepositoryEventListener(validatingListener);
    }// w ww .j a  v a 2 s. co m
}