Class MessageSourceAutoConfiguration


  • @AutoConfigureBefore(org.springframework.boot.autoconfigure.context.MessageSourceAutoConfiguration.class)
    @Configuration
    @EnableConfigurationProperties(MessageSourceProperties.class)
    public class MessageSourceAutoConfiguration
    extends Object
    The message source configuration.
    Author:
    Christian Bremer
    • Constructor Detail

      • MessageSourceAutoConfiguration

        public MessageSourceAutoConfiguration​(MessageSourceProperties properties)
        Instantiates a new message source configuration.
        Parameters:
        properties - the message source properties
    • Method Detail

      • init

        @EventListener(org.springframework.boot.context.event.ApplicationReadyEvent.class)
        public void init()
        Init.
      • messageSource

        @Bean
        public org.springframework.context.MessageSource messageSource()
        Creates message source bean.
        Returns:
        the message source bean