public class AsyncConfigurerSupport extends java.lang.Object implements AsyncConfigurer
AsyncConfigurer
that implements all methods
so that the defaults are used. Provides a backward compatible alternative
of implementing AsyncConfigurer
directly.Constructor and Description |
---|
AsyncConfigurerSupport() |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.Executor |
getAsyncExecutor()
The
Executor instance to be used when processing async
method invocations. |
AsyncUncaughtExceptionHandler |
getAsyncUncaughtExceptionHandler()
The
AsyncUncaughtExceptionHandler instance to be used
when an exception is thrown during an asynchronous method execution
with void return type. |
public java.util.concurrent.Executor getAsyncExecutor()
AsyncConfigurer
Executor
instance to be used when processing async
method invocations.getAsyncExecutor
in interface AsyncConfigurer
public AsyncUncaughtExceptionHandler getAsyncUncaughtExceptionHandler()
AsyncConfigurer
AsyncUncaughtExceptionHandler
instance to be used
when an exception is thrown during an asynchronous method execution
with void
return type.getAsyncUncaughtExceptionHandler
in interface AsyncConfigurer