@Configuration
@EnableAsync
@EnableScheduling
public class AsyncConfiguration
extends java.lang.Object
implements org.springframework.scheduling.annotation.AsyncConfigurer
| Constructor and Description |
|---|
AsyncConfiguration(io.github.jhipster.config.JHipsterProperties jHipsterProperties) |
| Modifier and Type | Method and Description |
|---|---|
java.util.concurrent.Executor |
getAsyncExecutor() |
org.springframework.aop.interceptor.AsyncUncaughtExceptionHandler |
getAsyncUncaughtExceptionHandler() |
public AsyncConfiguration(io.github.jhipster.config.JHipsterProperties jHipsterProperties)
@Bean(name="taskExecutor") public java.util.concurrent.Executor getAsyncExecutor()
getAsyncExecutor in interface org.springframework.scheduling.annotation.AsyncConfigurerpublic org.springframework.aop.interceptor.AsyncUncaughtExceptionHandler getAsyncUncaughtExceptionHandler()
getAsyncUncaughtExceptionHandler in interface org.springframework.scheduling.annotation.AsyncConfigurerCopyright © 2017 Osgiliath. All rights reserved.