Example usage for org.springframework.web.servlet.config.annotation WebMvcConfigurerAdapter subclass-usage

List of usage examples for org.springframework.web.servlet.config.annotation WebMvcConfigurerAdapter subclass-usage

Introduction

In this page you can find the example usage for org.springframework.web.servlet.config.annotation WebMvcConfigurerAdapter subclass-usage.

Usage

From source file eu.agilejava.spring4.config.ApplicationConfig.java

/**
 * Spring configuration. Example how to manage beans manually by spring.
 *
 * @author Ivar Grimstad <ivar.grimstad@gmail.com>
 */
@Configuration

From source file com.jrj.payment.main.PayServerApplication.java

@Configuration
@ComponentScan({ "com.jrj.payment" })
@EnableAutoConfiguration
@EnableAspectJAutoProxy
@EnableConfigurationProperties(ConnectionSettings.class)
@Controller

From source file com.mysample.springbootsample.config.WebConfig.java

@Configuration
@EnableWebMvc
@ComponentScan(basePackages = "com.mysample.springbootsample.*")
@PropertySource({ "classpath:application.properties", "classpath:database.properties" })
public class WebConfig extends WebMvcConfigurerAdapter {

From source file com.github.djabry.platform.vaadin.config.WebConfig.java

/**
 * @author djabry
 */
@Configuration
@EnableWebMvc
@ComponentScan(basePackages = { "com.github.djabry" })

From source file sample.ui.secure.SampleWebSecureApplication.java

@EnableAutoConfiguration
@ComponentScan
@Controller
public class SampleWebSecureApplication extends WebMvcConfigurerAdapter {

    @RequestMapping("/")

From source file net.gbmb.collector.ApplicationRunner.java

@Configuration
@ImportResource({ "collector-context.xml" })
@ComponentScan
@EnableAutoConfiguration
public class ApplicationRunner extends WebMvcConfigurerAdapter {

From source file org.aksw.gerbil.web.config.WebMvcConfig.java

@Configuration
@EnableWebMvc
@ComponentScan(basePackages = { "org.aksw.gerbil.web", "org.aksw.gerbil.datasets.datahub" })
public class WebMvcConfig extends WebMvcConfigurerAdapter {

    private static final transient Logger logger = LoggerFactory.getLogger(WebMvcConfig.class);

From source file server.ServiceController.java

/**
 * Launches embedded Tomcat hosting CXF servlet.
 * @author nik
 */
@Configuration
@EnableAutoConfiguration

From source file org.jgrades.rest.lic.LicMockConfig.java

@Configuration
@EnableWebMvc
public class LicMockConfig extends WebMvcConfigurerAdapter {
    @Bean
    public LicenceManagingService licenceManagingService() {
        return Mockito.mock(LicenceManagingService.class);

From source file com.xpeppers.phonedirectory.config.WebAppConfig.java

@Configuration
@EnableWebMvc
@EnableSpringDataWebSupport
public class WebAppConfig extends WebMvcConfigurerAdapter {

    public static final String LANGUAGE = "lang";