Class Application


  • @SpringBootApplication
    public class Application
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Application()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.springframework.context.MessageSource configureMessageSource()
      Create a resource bundle for your messages ("messages_en.properties").
      This file goes in src/main/resources because you want it to appear at the root of the classpath on deployment.
      static void main​(java.lang.String[] args)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Application

        public Application()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • configureMessageSource

        @Bean(name="messageSource")
        public org.springframework.context.MessageSource configureMessageSource()
        Create a resource bundle for your messages ("messages_en.properties").
        This file goes in src/main/resources because you want it to appear at the root of the classpath on deployment.
        Returns:
        message source