Package | Description |
---|---|
org.springframework.aop.interceptor |
Provides miscellaneous interceptor implementations.
|
org.springframework.scheduling.annotation |
Java 5 annotation for asynchronous method execution.
|
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. |
Constructor and Description |
---|
AsyncExecutionAspectSupport(java.util.concurrent.Executor defaultExecutor,
AsyncUncaughtExceptionHandler exceptionHandler)
Create a new
AsyncExecutionAspectSupport with the given exception handler. |
AsyncExecutionInterceptor(java.util.concurrent.Executor defaultExecutor,
AsyncUncaughtExceptionHandler exceptionHandler)
Create a new
AsyncExecutionInterceptor . |
Modifier and Type | Field and Description |
---|---|
protected AsyncUncaughtExceptionHandler |
AbstractAsyncConfiguration.exceptionHandler |
Modifier and Type | Method and Description |
---|---|
AsyncUncaughtExceptionHandler |
AsyncConfigurerSupport.getAsyncUncaughtExceptionHandler() |
default AsyncUncaughtExceptionHandler |
AsyncConfigurer.getAsyncUncaughtExceptionHandler()
The
AsyncUncaughtExceptionHandler instance to be used
when an exception is thrown during an asynchronous method execution
with void return type. |
Modifier and Type | Method and Description |
---|---|
protected Advice |
AsyncAnnotationAdvisor.buildAdvice(java.util.concurrent.Executor executor,
AsyncUncaughtExceptionHandler exceptionHandler) |
void |
AsyncAnnotationBeanPostProcessor.setExceptionHandler(AsyncUncaughtExceptionHandler exceptionHandler)
Set the
AsyncUncaughtExceptionHandler to use to handle uncaught
exceptions thrown by asynchronous method executions. |
Constructor and Description |
---|
AnnotationAsyncExecutionInterceptor(java.util.concurrent.Executor defaultExecutor,
AsyncUncaughtExceptionHandler exceptionHandler)
Create a new
AnnotationAsyncExecutionInterceptor with the given executor. |
AsyncAnnotationAdvisor(java.util.concurrent.Executor executor,
AsyncUncaughtExceptionHandler exceptionHandler)
Create a new
AsyncAnnotationAdvisor for the given task executor. |