
com.airlenet.integration.webapp.ServletConfigBean Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of play-integration-webapp Show documentation
Show all versions of play-integration-webapp Show documentation
The Webapp of Play Intergation.
The newest version!
package com.airlenet.integration.webapp;
import org.springframework.beans.factory.config.PlaceholderConfigurerSupport;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScan.Filter;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Controller;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
import com.airlenet.config.ConfigurationPropertyResourceConfigurer;
import com.airlenet.config.StaticConfigSupplier;
import com.airlenet.web.ServletSupport;
@Configuration
@ComponentScan(basePackages = { "com.airlenet" }, useDefaultFilters = false, includeFilters = {
@Filter({ Controller.class }), @Filter({ ServletSupport.class }) }, nameGenerator = FullBeanNameGenerator.class)
@EnableWebMvc
public class ServletConfigBean {
@Bean
public static PlaceholderConfigurerSupport placeholderConfigurer() {
return new ConfigurationPropertyResourceConfigurer(StaticConfigSupplier.getConfiguration());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy