public class AsyncConfigurerSupport extends 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 |
---|---|
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 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