@Configuration @PropertySource(value="classpath:/default-config.properties") public class PropertiesAutoConfiguration extends Object
Constructor and Description |
---|
PropertiesAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
AppNameProperties |
appNameProperties() |
@Bean @ConfigurationProperties(prefix="spring.application.name") public AppNameProperties appNameProperties()
Copyright © 2018. All rights reserved.