@Configuration
@ComponentScan(basePackages={"de.digitalcollections.iiif.image.config","de.digitalcollections.iiif.presentation.config"})
@Import(value=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 |
messageSource()
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) |
public void setEnvironment(org.springframework.core.env.Environment environment)
setEnvironment in interface org.springframework.context.EnvironmentAware@Bean(name="messageSource") public org.springframework.context.MessageSource messageSource()
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.