Example usage for org.springframework.context ConfigurableApplicationContext CONVERSION_SERVICE_BEAN_NAME

List of usage examples for org.springframework.context ConfigurableApplicationContext CONVERSION_SERVICE_BEAN_NAME

Introduction

In this page you can find the example usage for org.springframework.context ConfigurableApplicationContext CONVERSION_SERVICE_BEAN_NAME.

Prototype

String CONVERSION_SERVICE_BEAN_NAME

To view the source code for org.springframework.context ConfigurableApplicationContext CONVERSION_SERVICE_BEAN_NAME.

Click Source Link

Document

Name of the ConversionService bean in the factory.

Usage

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

@Override
public void afterPropertiesSet() throws Exception {
    if (this.propertySources == null) {
        this.propertySources = deducePropertySources();
    }// w  w w .ja  v  a 2  s  .co  m
    if (this.validator == null) {
        this.validator = getOptionalBean(VALIDATOR_BEAN_NAME, Validator.class);
    }
    if (this.conversionService == null) {
        this.conversionService = getOptionalBean(ConfigurableApplicationContext.CONVERSION_SERVICE_BEAN_NAME,
                ConversionService.class);
    }
}