Class AsyncConfig

  • All Implemented Interfaces:
    org.springframework.scheduling.annotation.AsyncConfigurer

    @Configuration
    @EnableAsync
    public class AsyncConfig
    extends Object
    implements org.springframework.scheduling.annotation.AsyncConfigurer
    Config class for Audit manager
    Since:
    1.0.0
    Author:
    Dharmesh Khandelwal
    • Constructor Detail

      • AsyncConfig

        public AsyncConfig()
    • Method Detail

      • getAsyncExecutor

        public Executor getAsyncExecutor()
        Specified by:
        getAsyncExecutor in interface org.springframework.scheduling.annotation.AsyncConfigurer
      • getAsyncUncaughtExceptionHandler

        public org.springframework.aop.interceptor.AsyncUncaughtExceptionHandler getAsyncUncaughtExceptionHandler()
        Specified by:
        getAsyncUncaughtExceptionHandler in interface org.springframework.scheduling.annotation.AsyncConfigurer
      • registerReqResFilter

        @Bean
        public org.springframework.boot.web.servlet.FilterRegistrationBean<javax.servlet.Filter> registerReqResFilter()
        Returns:
        the registered filter to the context.
      • getReqResFilter

        @Bean
        public javax.servlet.Filter getReqResFilter()
        Returns:
        a new ReqResFilter object.