Class Application
- java.lang.Object
-
- de.digitalcollections.cudami.template.website.springboot.Application
-
@SpringBootApplication public class Application extends 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(String[] args)
-
-
-
Method Detail
-
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
-
-