@Configuration
@PropertySource(value="classpath:application.properties",ignoreResourceNotFound=true) @PropertySource(value="classpath:application.yaml",ignoreResourceNotFound=true) @PropertySource(value="classpath:application-${spring.profiles.active}.properties",ignoreResourceNotFound=true) @PropertySource(value="classpath:application-${spring.profiles.active}.yaml",ignoreResourceNotFound=true)
public class AppConfig
extends java.lang.Object
| Constructor and Description |
|---|
AppConfig() |
| Modifier and Type | Method and Description |
|---|---|
static org.springframework.context.support.PropertySourcesPlaceholderConfigurer |
propertyConfig() |