Package | Description |
---|---|
org.springframework.aop.interceptor |
Provides miscellaneous interceptor implementations.
|
Modifier and Type | Class and Description |
---|---|
class |
SimpleAsyncUncaughtExceptionHandler
A default
AsyncUncaughtExceptionHandler that simply logs the exception. |
Modifier and Type | Method and Description |
---|---|
void |
AsyncExecutionAspectSupport.setExceptionHandler(AsyncUncaughtExceptionHandler exceptionHandler)
Supply the
AsyncUncaughtExceptionHandler to use to handle exceptions
thrown by invoking asynchronous methods with a void return type. |
Modifier and Type | Method and Description |
---|---|
void |
AsyncExecutionAspectSupport.configure(Supplier<Executor> defaultExecutor,
Supplier<AsyncUncaughtExceptionHandler> exceptionHandler)
Configure this aspect with the given executor and exception handler suppliers,
applying the corresponding default if a supplier is not resolvable.
|
Constructor and Description |
---|
AsyncExecutionAspectSupport(Executor defaultExecutor,
AsyncUncaughtExceptionHandler exceptionHandler)
Create a new
AsyncExecutionAspectSupport with the given exception handler. |
AsyncExecutionInterceptor(Executor defaultExecutor,
AsyncUncaughtExceptionHandler exceptionHandler)
Create a new
AsyncExecutionInterceptor . |