Example usage for org.springframework.validation.beanvalidation CustomValidatorBean CustomValidatorBean

List of usage examples for org.springframework.validation.beanvalidation CustomValidatorBean CustomValidatorBean

Introduction

In this page you can find the example usage for org.springframework.validation.beanvalidation CustomValidatorBean CustomValidatorBean.

Prototype

CustomValidatorBean

Source Link

Usage

From source file:org.springframework.cloud.stream.binding.BindingService.java

public BindingService(BindingServiceProperties bindingServiceProperties, BinderFactory binderFactory) {
    this.bindingServiceProperties = bindingServiceProperties;
    this.binderFactory = binderFactory;
    this.validator = new CustomValidatorBean();
    this.validator.afterPropertiesSet();
}

From source file:org.springframework.cloud.stream.binding.ChannelBindingService.java

public ChannelBindingService(ChannelBindingServiceProperties channelBindingServiceProperties,
        BinderFactory<MessageChannel> binderFactory) {
    this.channelBindingServiceProperties = channelBindingServiceProperties;
    this.binderFactory = binderFactory;
    this.validator = new CustomValidatorBean();
    this.validator.afterPropertiesSet();
}