@Configuration(proxyBeanMethods=false) @ConditionalOnMissingBean(name="messageSource", search=CURRENT) @AutoConfigureOrder(value=-2147483648) @Conditional(value=MessageSourceAutoConfiguration.ResourceBundleCondition.class) @EnableConfigurationProperties public class MessageSourceAutoConfiguration extends Object
Auto-configuration for MessageSource.| Modifier and Type | Class and Description | 
|---|---|
| protected static class  | MessageSourceAutoConfiguration.ResourceBundleCondition | 
| Constructor and Description | 
|---|
| MessageSourceAutoConfiguration() | 
| Modifier and Type | Method and Description | 
|---|---|
| org.springframework.context.MessageSource | messageSource(MessageSourceProperties properties) | 
| MessageSourceProperties | messageSourceProperties() | 
@Bean @ConfigurationProperties(prefix="spring.messages") public MessageSourceProperties messageSourceProperties()
@Bean public org.springframework.context.MessageSource messageSource(MessageSourceProperties properties)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.