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