org.surfnet.oaaas.config
Class SpringConfiguration

java.lang.Object
  extended by org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
      extended by org.surfnet.oaaas.config.SpringConfiguration
All Implemented Interfaces:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer

@Configuration
@PropertySource(value="classpath:client.apis.properties")
@EnableWebMvc
public class SpringConfiguration
extends org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter

Main spring configuration class. See this link


Constructor Summary
SpringConfiguration()
           
 
Method Summary
 ClientController clientController()
           
 void configureDefaultServletHandling(org.springframework.web.servlet.config.annotation.DefaultServletHandlerConfigurer configurer)
           
 org.springframework.web.servlet.ViewResolver viewResolver()
           
 
Methods inherited from class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
addArgumentResolvers, addFormatters, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureHandlerExceptionResolvers, configureMessageConverters, getMessageCodesResolver, getValidator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringConfiguration

public SpringConfiguration()
Method Detail

viewResolver

@Bean
public org.springframework.web.servlet.ViewResolver viewResolver()

clientController

@Bean
public ClientController clientController()

configureDefaultServletHandling

public void configureDefaultServletHandling(org.springframework.web.servlet.config.annotation.DefaultServletHandlerConfigurer configurer)
Specified by:
configureDefaultServletHandling in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
Overrides:
configureDefaultServletHandling in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter


Copyright © 2012-2013 SURFnet bv, The Netherlands. All Rights Reserved.