Class MessageSourceAutoConfiguration
java.lang.Object
org.springframework.boot.autoconfigure.context.MessageSourceAutoConfiguration
@AutoConfiguration
@ConditionalOnMissingBean(name="messageSource",
search=CURRENT)
@AutoConfigureOrder(-2147483648)
@Conditional(ResourceBundleCondition.class)
@EnableConfigurationProperties
@ImportRuntimeHints(org.springframework.boot.autoconfigure.context.MessageSourceAutoConfiguration.MessageSourceRuntimeHints.class)
public class MessageSourceAutoConfiguration
extends Object
- Since:
- 1.5.0
- Author:
- Dave Syer, Phillip Webb, EddĂș MelĂ©ndez, Marc Becker
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static class
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
MessageSourceAutoConfiguration
public MessageSourceAutoConfiguration()
-
-
Method Details
-
messageSourceProperties
@Bean @ConfigurationProperties(prefix="spring.messages") public MessageSourceProperties messageSourceProperties() -
messageSource
-