@Configuration(proxyBeanMethods=false) @ConditionalOnMissingBean(name="messageSource", search=CURRENT) @AutoConfigureOrder(value=-2147483648) @Conditional(value=MessageSourceAutoConfiguration.ResourceBundleCondition.class) @EnableConfigurationProperties public class MessageSourceAutoConfiguration extends ObjectSE
MessageSource
の場合は Auto-configuration
。修飾子と型 | クラスと説明 |
---|---|
protected static class | MessageSourceAutoConfiguration.ResourceBundleCondition |
コンストラクターと説明 |
---|
MessageSourceAutoConfiguration() |
修飾子と型 | メソッドと説明 |
---|---|
org.springframework.context.MessageSource | messageSource(MessageSourceProperties properties) |
MessageSourceProperties | messageSourceProperties() |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
@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.