@Configuration
@ComponentScan(basePackages={"de.digitalcollections.iiif.image.config","de.digitalcollections.iiif.presentation.config"})
@Import(value={SpringConfigBackend.class,SpringConfigBusiness.class,SpringConfigWeb.class})
public class SpringConfig
extends Object
implements org.springframework.context.EnvironmentAware
| Constructor and Description |
|---|
SpringConfig() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.context.MessageSource |
configureMessageSource()
Create a resource bundle for your messages ("messages.properties").
This file goes in src/main/resources because you want it to appear at the root of the classpath on deployment. |
void |
setEnvironment(org.springframework.core.env.Environment environment) |
@Bean(name="messageSource") public org.springframework.context.MessageSource configureMessageSource()
public void setEnvironment(org.springframework.core.env.Environment environment)
setEnvironment in interface org.springframework.context.EnvironmentAwareCopyright © 2016. All rights reserved.