Class AsyncConfig

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

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

      Constructors 
      Constructor Description
      AsyncConfig()  
    • Constructor Detail

      • AsyncConfig

        public AsyncConfig()
    • Method Detail

      • getAsyncExecutor

        @Bean(name="taskExecutor")
        public java.util.concurrent.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