@Configuration
@PropertySource(value="classpath:de/digitalcollections/iiif/bookshelf/config/SpringConfig-${spring.profiles.active:PROD}.properties")
@Import(value={SpringConfigSecurity.class,SpringConfigWeb.class,SpringConfigBusiness.class,SpringConfigBackend.class,SpringConfigBackendSolr.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").
|
static org.springframework.context.support.PropertySourcesPlaceholderConfigurer |
propertySourcesPlaceholderConfigurer() |
void |
setEnvironment(org.springframework.core.env.Environment environment) |
@Bean public static org.springframework.context.support.PropertySourcesPlaceholderConfigurer propertySourcesPlaceholderConfigurer()
@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 © 2017. All rights reserved.