Class AsyncConfiguration

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

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

      • AsyncConfiguration

        public AsyncConfiguration​(io.github.jhipster.config.JHipsterProperties jHipsterProperties)
    • 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