Class WebMvcConfiguration
- java.lang.Object
-
- org.sakaiproject.conversations.tool.WebMvcConfiguration
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware,org.springframework.web.servlet.config.annotation.WebMvcConfigurer
@Configuration @EnableWebMvc @ComponentScan("org.sakaiproject.conversations") public class WebMvcConfiguration extends Object implements org.springframework.context.ApplicationContextAware, org.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
-
Constructor Summary
Constructors Constructor Description WebMvcConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddViewControllers(org.springframework.web.servlet.config.annotation.ViewControllerRegistry registry)org.springframework.web.servlet.ViewResolverviewResolver()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.springframework.context.ApplicationContextAware
setApplicationContext
-
Methods inherited from interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
addArgumentResolvers, addCorsMappings, addFormatters, addInterceptors, addResourceHandlers, addReturnValueHandlers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
-
-
-
-
Method Detail
-
viewResolver
@Bean public org.springframework.web.servlet.ViewResolver viewResolver()
-
addViewControllers
public void addViewControllers(org.springframework.web.servlet.config.annotation.ViewControllerRegistry registry)
- Specified by:
addViewControllersin interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
-