Class BeanConfigurator

  • All Implemented Interfaces:
    org.springframework.web.servlet.config.annotation.WebMvcConfigurer

    @Configuration
    public class BeanConfigurator
    extends Object
    implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addViewControllers​(org.springframework.web.servlet.config.annotation.ViewControllerRegistry registry)  
      org.springframework.boot.web.servlet.FilterRegistrationBean configureFilters()  
      void doSomethingAfterStartup()  
      org.springframework.boot.web.servlet.ServletListenerRegistrationBean<javax.servlet.http.HttpSessionListener> sessionListener()  
      • 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
    • Constructor Detail

      • BeanConfigurator

        public BeanConfigurator()
    • 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()
      • addViewControllers

        public void addViewControllers​(org.springframework.web.servlet.config.annotation.ViewControllerRegistry registry)
        Specified by:
        addViewControllers in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer