@Configuration
@ConditionalOnMissingBean(value=org.springframework.context.MessageSource.class,
search=CURRENT)
@ConfigurationProperties(prefix="spring.messages")
public class I18nAutoConfiguration
extends org.springframework.boot.autoconfigure.context.MessageSourceAutoConfiguration
| Modifier and Type | Class and Description |
|---|---|
protected static class |
I18nAutoConfiguration.CatResourceBundleCondition |
| Constructor and Description |
|---|
I18nAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
ListResourceBundleMessageSourceImpl |
messageSource() |
@Bean public ListResourceBundleMessageSourceImpl messageSource()
messageSource in class org.springframework.boot.autoconfigure.context.MessageSourceAutoConfiguration