Class BeanConfigurator
- java.lang.Object
-
- org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
-
- cronapp.framework.authentication.token.BeanConfigurator
-
- All Implemented Interfaces:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer
@Configuration public class BeanConfigurator extends org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
-
-
Constructor Summary
Constructors Constructor Description BeanConfigurator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddArgumentResolvers(List<org.springframework.web.method.support.HandlerMethodArgumentResolver> argumentResolvers)voidaddInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)org.springframework.boot.web.servlet.FilterRegistrationBeanconfigureFilters()org.springframework.mobile.device.DeviceHandlerMethodArgumentResolverdeviceHandlerMethodArgumentResolver()org.springframework.mobile.device.DeviceResolverHandlerInterceptordeviceResolverHandlerInterceptor()voiddoSomethingAfterStartup()org.springframework.boot.web.servlet.ServletListenerRegistrationBean<javax.servlet.http.HttpSessionListener>sessionListener()-
Methods inherited from class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
addCorsMappings, addFormatters, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
-
-
-
-
Method Detail
-
configureFilters
@Bean public org.springframework.boot.web.servlet.FilterRegistrationBean configureFilters()
-
doSomethingAfterStartup
@EventListener(org.springframework.boot.context.event.ApplicationReadyEvent.class) public void doSomethingAfterStartup()
-
sessionListener
@Bean public org.springframework.boot.web.servlet.ServletListenerRegistrationBean<javax.servlet.http.HttpSessionListener> sessionListener()
-
deviceResolverHandlerInterceptor
@Bean public org.springframework.mobile.device.DeviceResolverHandlerInterceptor deviceResolverHandlerInterceptor()
-
deviceHandlerMethodArgumentResolver
@Bean public org.springframework.mobile.device.DeviceHandlerMethodArgumentResolver deviceHandlerMethodArgumentResolver()
-
addInterceptors
public void addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
- Specified by:
addInterceptorsin interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer- Overrides:
addInterceptorsin classorg.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
-
addArgumentResolvers
public void addArgumentResolvers(List<org.springframework.web.method.support.HandlerMethodArgumentResolver> argumentResolvers)
- Specified by:
addArgumentResolversin interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer- Overrides:
addArgumentResolversin classorg.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
-
-