Top Description Constructors Methods
org.springframework.scheduling.annotation

public Class AsyncConfigurerSupport

extends Object
implements AsyncConfigurer
Class Inheritance
All Implemented Interfaces
org.springframework.scheduling.annotation.AsyncConfigurer
Annotations
@Deprecated
since:6.0
Imports
java.util.concurrent.Executor, org.springframework.aop.interceptor.AsyncUncaughtExceptionHandler, org.springframework.lang.Nullable

Deprecated

since 6.0.

as of 6.0 in favor of implementing AsyncConfigurer directly

A convenience AsyncConfigurer that implements all methods so that the defaults are used. Provides a backward compatible alternative of implementing AsyncConfigurer directly.
Author
Stephane Nicoll
Since
4.1

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Executor
getAsyncExecutor()

Overrides default org.springframework.scheduling.annotation.AsyncConfigurer.getAsyncExecutor.

The Executor instance to be used when processing async method invocations.
public AsyncUncaughtExceptionHandler
getAsyncUncaughtExceptionHandler()

Overrides default org.springframework.scheduling.annotation.AsyncConfigurer.getAsyncUncaughtExceptionHandler.

The AsyncUncaughtExceptionHandler instance to be used when an exception is thrown during an asynchronous method execution with void return type.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

AsyncConfigurerSupportback to summary
public AsyncConfigurerSupport()

Method Detail

getAsyncExecutorback to summary
public Executor getAsyncExecutor()

Overrides default org.springframework.scheduling.annotation.AsyncConfigurer.getAsyncExecutor.

Doc from org.springframework.scheduling.annotation.AsyncConfigurer.getAsyncExecutor.

The Executor instance to be used when processing async method invocations.

Annotations
@Override
getAsyncUncaughtExceptionHandlerback to summary
public AsyncUncaughtExceptionHandler getAsyncUncaughtExceptionHandler()

Overrides default org.springframework.scheduling.annotation.AsyncConfigurer.getAsyncUncaughtExceptionHandler.

Doc from org.springframework.scheduling.annotation.AsyncConfigurer.getAsyncUncaughtExceptionHandler.

The AsyncUncaughtExceptionHandler instance to be used when an exception is thrown during an asynchronous method execution with void return type.

Annotations
@Override
@Nullable