类 MessageSourceAutoConfiguration
- java.lang.Object
- org.springframework.boot.autoconfigure.context.MessageSourceAutoConfiguration
@Configuration @ConditionalOnMissingBean(value=org.springframework.context.MessageSource.class, search=CURRENT) @AutoConfigureOrder(-2147483648) @Conditional(ResourceBundleCondition.class) @EnableConfigurationProperties public class MessageSourceAutoConfiguration extends Object
Auto-configuration
forMessageSource
.
嵌套类概要
嵌套类 修饰符和类型 类 说明 protected static class
MessageSourceAutoConfiguration.ResourceBundleCondition
构造器概要
构造器 构造器 说明 MessageSourceAutoConfiguration()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 org.springframework.context.MessageSource
messageSource(MessageSourceProperties properties)
MessageSourceProperties
messageSourceProperties()
构造器详细资料
MessageSourceAutoConfiguration
public MessageSourceAutoConfiguration()
方法详细资料
messageSourceProperties
@Bean @ConfigurationProperties(prefix="spring.messages") public MessageSourceProperties messageSourceProperties()
messageSource
@Bean public org.springframework.context.MessageSource messageSource(MessageSourceProperties properties)