@Configuration @ComponentScan(basePackages="de.digitalcollections.cudami.config") 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").
|
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 © 2018. All rights reserved.