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