Example usage for org.springframework.boot.validation MessageInterpolatorFactory MessageInterpolatorFactory

List of usage examples for org.springframework.boot.validation MessageInterpolatorFactory MessageInterpolatorFactory

Introduction

In this page you can find the example usage for org.springframework.boot.validation MessageInterpolatorFactory MessageInterpolatorFactory.

Prototype

MessageInterpolatorFactory

Source Link

Usage

From source file:org.springframework.boot.context.properties.ValidatedLocalValidatorFactoryBean.java

ValidatedLocalValidatorFactoryBean(ApplicationContext applicationContext) {
    setApplicationContext(applicationContext);
    setMessageInterpolator(new MessageInterpolatorFactory().getObject());
    afterPropertiesSet();
}