Class AsyncConfig

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

    @Configuration
    @EnableAsync
    @EnableScheduling
    public class AsyncConfig
    extends Object
    implements org.springframework.scheduling.annotation.AsyncConfigurer
    • Constructor Detail

      • AsyncConfig

        public AsyncConfig()
    • Method Detail

      • getAsyncExecutor

        @Bean(name="taskExecutor")
        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