Class Application
- java.lang.Object
-
- de.digitalcollections.cudami.template.website.springboot.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.MessageSourceconfigureMessageSource()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 voidmain(java.lang.String[] args)
-
-
-
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
-
-