AsyncExecutionAspectSupport(@Nullable defaultExecutor: Executor)
Create a new instance with a default AsyncUncaughtExceptionHandler.
defaultExecutor - the Executor (typically a Spring AsyncTaskExecutor or java.util.concurrent.ExecutorService) to delegate to, unless a more specific executor has been requested via a qualifier on the async method, in which case the executor will be looked up at invocation time against the enclosing bean factory
AsyncExecutionAspectSupport(@Nullable defaultExecutor: Executor, exceptionHandler: AsyncUncaughtExceptionHandler)
Create a new AsyncExecutionAspectSupport with the given exception handler.
defaultExecutor - the Executor (typically a Spring AsyncTaskExecutor or java.util.concurrent.ExecutorService) to delegate to, unless a more specific executor has been requested via a qualifier on the async method, in which case the executor will be looked up at invocation time against the enclosing bean factory