Package org.duracloud.account.config
Class PropertyConfig
java.lang.Object
org.duracloud.account.config.PropertyConfig
@Configuration
@Order(-2147483648)
@PropertySource("${mc.config.file}")
public class PropertyConfig
extends Object
This configuration class ensures that the mc-config.properties are loaded before any downstream component
and/or configs read properties from the environment.
- Author:
- Daniel Bernstein
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.springframework.context.support.PropertySourcesPlaceholderConfigurer
-
Constructor Details
-
PropertyConfig
public PropertyConfig()
-
-
Method Details
-
propertySourcesPlaceholderConfigurer
@Bean public static org.springframework.context.support.PropertySourcesPlaceholderConfigurer propertySourcesPlaceholderConfigurer() throws IOException- Throws:
IOException
-