uoa-monitor-service/src/main/java/eu/dnetlib/uoamonitorservice/UoaMonitorServiceConfigurat...

19 lines
738 B
Java
Raw Normal View History

2019-11-04 10:03:49 +01:00
package eu.dnetlib.uoamonitorservice;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
2019-11-04 10:03:49 +01:00
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.support.PropertySourcesPlaceholderConfigurer;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;
@Configuration
public class UoaMonitorServiceConfiguration extends WebMvcConfigurerAdapter {
private final Logger log = LogManager.getLogger(this.getClass());
2019-11-04 10:03:49 +01:00
@Bean
public static PropertySourcesPlaceholderConfigurer propertySourcesPlaceholderConfigurer() {
return new PropertySourcesPlaceholderConfigurer();
}
}