インターフェースの使用
org.springframework.aop.interceptor.AsyncUncaughtExceptionHandler
AsyncUncaughtExceptionHandler を使用するパッケージ
パッケージ
説明
その他のインターセプターの実装を提供します。
非同期メソッド実行のアノテーションサポート。
org.springframework.aop.interceptor 内の AsyncUncaughtExceptionHandler 使用
型 AsyncUncaughtExceptionHandler のパラメーターを持つ org.springframework.aop.interceptor のメソッド修飾子と型メソッド説明void
AsyncExecutionAspectSupport.setExceptionHandler
(AsyncUncaughtExceptionHandler exceptionHandler) void
戻り値型で非同期メソッドを呼び出すことによってスローされた例外を処理するために使用するAsyncUncaughtExceptionHandler
を提供します。型 AsyncUncaughtExceptionHandler のパラメーターを持つ org.springframework.aop.interceptor のコンストラクター修飾子コンストラクター説明AsyncExecutionAspectSupport
(ExecutorSE defaultExecutor, AsyncUncaughtExceptionHandler exceptionHandler) 指定された例外ハンドラーで新しいAsyncExecutionAspectSupport
を作成します。AsyncExecutionInterceptor
(ExecutorSE defaultExecutor, AsyncUncaughtExceptionHandler exceptionHandler) 新しいAsyncExecutionInterceptor
を作成します。org.springframework.scheduling.annotation 内の AsyncUncaughtExceptionHandler 使用
AsyncUncaughtExceptionHandler 型の型パラメーターを持つ org.springframework.scheduling.annotation のフィールド修飾子と型フィールド説明protected SupplierSE<AsyncUncaughtExceptionHandler>
AbstractAsyncConfiguration.exceptionHandler
修飾子と型メソッド説明default AsyncUncaughtExceptionHandler
AsyncConfigurer.getAsyncUncaughtExceptionHandler()
void
戻り値型の非同期メソッドの実行中に例外がスローされたときに使用されるAsyncUncaughtExceptionHandler
インスタンス。AsyncConfigurerSupport.getAsyncUncaughtExceptionHandler()
使用すべきではありません。型 AsyncUncaughtExceptionHandler のパラメーターを持つ org.springframework.scheduling.annotation のメソッド修飾子と型メソッド説明void
AsyncAnnotationBeanPostProcessor.setExceptionHandler
(AsyncUncaughtExceptionHandler exceptionHandler) 非同期メソッド実行によってスローされたキャッチされない例外を処理するために使用するAsyncUncaughtExceptionHandler
を設定します。型 AsyncUncaughtExceptionHandler のパラメーターを持つ org.springframework.scheduling.annotation のコンストラクター修飾子コンストラクター説明AnnotationAsyncExecutionInterceptor
(ExecutorSE defaultExecutor, AsyncUncaughtExceptionHandler exceptionHandler) 指定されたエグゼキューターで新しいAnnotationAsyncExecutionInterceptor
を作成します。AsyncAnnotationAdvisor
(ExecutorSE executor, AsyncUncaughtExceptionHandler exceptionHandler) 指定されたタスクエグゼキューターの新しいAsyncAnnotationAdvisor
を作成します。