List of usage examples for org.springframework.web.servlet.config.annotation WebMvcConfigurerAdapter subclass-usage
From source file sample.config.WebMvcConfig.java
@EnableWebMvc @ComponentScan(basePackageClasses = MessageController.class) public class WebMvcConfig extends WebMvcConfigurerAdapter { @Autowired private FormattingConversionService mvcConversionService;
From source file com.alehuo.wepas2016projekti.configuration.DevelopmentConfiguration.java
/**
* Kehitysympristn konfiguraatio
*
* @author alehuo
*/
@Configuration
From source file com.cloudbees.demo.beesshop.WebConfig.java
/** * @author <a href="mailto:cleclerc@cloudbees.com">Cyrille Le Clerc</a> */ @Configuration @EnableWebMvc public class WebConfig extends WebMvcConfigurerAdapter {
From source file org.ratty.configs.AppConfig.java
@Configuration @ComponentScan("org.ratty.*") @EnableWebMvc public class AppConfig extends WebMvcConfigurerAdapter implements WebApplicationInitializer { @Bean
From source file uk.org.funcube.fcdw.config.AppConfig.java
@EnableWebMvc @ComponentScan(basePackages = { "uk.org.funcube.fcdw" }) @Configuration public class AppConfig extends WebMvcConfigurerAdapter { @Override
From source file sample.web.secure.SampleWebSecureApplication.java
@EnableAutoConfiguration @ComponentScan @Controller public class SampleWebSecureApplication extends WebMvcConfigurerAdapter { @RequestMapping("/")
From source file com.pepeshka.logreg.facebook.config.WebMvcConfig.java
/**
* Spring MVC Configuration.
* @author Keith Donald
*/
@Configuration
@EnableWebMvc
From source file ua.com.rocketlv.spb.Application.java
/**
*
* @author rocketlv
*/
@ComponentScan
@EnableWebMvc
From source file org.lastrix.firstbit.config.WebConfig.java
@Configuration @EnableWebMvc public class WebConfig extends WebMvcConfigurerAdapter { @Override public void addResourceHandlers(ResourceHandlerRegistry registry) { registry.addResourceHandler("/css/**").addResourceLocations("classpath:/css/");
From source file de.fau.amos4.configuration.WebConfiguration.java
/**
* Needed for changing the locale using buttons on the web page.
* Functions messageSource and stringHttpMessageConverter most likely not necessary.
*
*/
@Configuration