类 CoreAsyncConfiguration
java.lang.Object
net.wenzuo.atom.core.config.CoreAsyncConfiguration
- 所有已实现的接口:
org.springframework.aop.interceptor.AsyncUncaughtExceptionHandler,org.springframework.core.task.TaskDecorator,org.springframework.scheduling.annotation.AsyncConfigurer
@EnableAsync
@ConditionalOnProperty(value="atom.core.async",
matchIfMissing=true)
@Configuration
public class CoreAsyncConfiguration
extends Object
implements org.springframework.scheduling.annotation.AsyncConfigurer, org.springframework.aop.interceptor.AsyncUncaughtExceptionHandler, org.springframework.core.task.TaskDecorator
- 从以下版本开始:
- 2022-11-10
- 作者:
- Catch
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明org.springframework.aop.interceptor.AsyncUncaughtExceptionHandlervoidhandleUncaughtException(Throwable t, Method method, Object... params)
-
构造器详细资料
-
CoreAsyncConfiguration
public CoreAsyncConfiguration()
-
-
方法详细资料
-
getAsyncExecutor
- 指定者:
getAsyncExecutor在接口中org.springframework.scheduling.annotation.AsyncConfigurer
-
getAsyncUncaughtExceptionHandler
public org.springframework.aop.interceptor.AsyncUncaughtExceptionHandler getAsyncUncaughtExceptionHandler()- 指定者:
getAsyncUncaughtExceptionHandler在接口中org.springframework.scheduling.annotation.AsyncConfigurer
-
handleUncaughtException
- 指定者:
handleUncaughtException在接口中org.springframework.aop.interceptor.AsyncUncaughtExceptionHandler
-
decorate
- 指定者:
decorate在接口中org.springframework.core.task.TaskDecorator
-