@Configuration
@ConditionalOnMissingBean(value=org.springframework.context.MessageSource.class,
search=CURRENT)
@AutoConfigureOrder(value=-2147483648)
@AutoConfigureBefore(value=org.springframework.boot.autoconfigure.context.MessageSourceAutoConfiguration.class)
@EnableConfigurationProperties
@Conditional(value=MessageSourceConfiguration.ResourceBundleCondition.class)
public class MessageSourceConfiguration
extends java.lang.Object
| 限定符和类型 | 类和说明 |
|---|---|
protected static class |
MessageSourceConfiguration.ResourceBundleCondition |
| 限定符和类型 | 字段和说明 |
|---|---|
static java.lang.String |
BASE_MESSAGES |
| 构造器和说明 |
|---|
MessageSourceConfiguration() |
| 限定符和类型 | 方法和说明 |
|---|---|
org.springframework.context.MessageSource |
messageSource() |
org.springframework.boot.autoconfigure.context.MessageSourceProperties |
messageSourceProperties() |
public static final java.lang.String BASE_MESSAGES