@Published(tag="architect") public class PipelineInvoker extends java.lang.Object
| 修飾子とタイプ | フィールドと説明 |
|---|---|
static java.lang.String |
PROCESSED_HANDLERS_KEY
処理済ハンドラリストのキー。
|
| コンストラクタと説明 |
|---|
PipelineInvoker() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected java.util.Set<java.lang.Object> |
getProcessedHandlers(ExecutionContext context)
処理済ハンドラのSetを取得する。
|
protected Result |
handleError(ExecutionContext context,
java.lang.Error e)
Error の例外処理を行う。
|
protected Result |
handleException(ExecutionContext context,
java.lang.Throwable t)
例外処理を行う
|
protected Result |
handleRuntimeException(ExecutionContext context,
java.lang.RuntimeException e)
RuntimeExceptionの例外処理を行う。
|
Result |
invokeInbound(ExecutionContext context)
事前処理を実行する。
|
Result |
invokeOutbound(ExecutionContext context)
事前処理を実行する。
|
void |
setExceptionHandler(ExceptionHandler exceptionHandler)
例外処理を行う
ExceptionHandlerを設定する。 |
void |
setHandlerListBuilder(PipelineListBuilder handlerListBuilder)
実行対象となるハンドラリストを組み立てる
PipelineListBuilder を設定する。 |
public static final java.lang.String PROCESSED_HANDLERS_KEY
public void setHandlerListBuilder(PipelineListBuilder handlerListBuilder)
PipelineListBuilder を設定する。handlerListBuilder - 実行対象となるハンドラリストを組み立てるPipelineListBuilderpublic void setExceptionHandler(ExceptionHandler exceptionHandler)
ExceptionHandlerを設定する。exceptionHandler - 例外処理を行う ExceptionHandlerpublic Result invokeInbound(ExecutionContext context)
context - ExecutionContextpublic Result invokeOutbound(ExecutionContext context)
context - ExecutionContextprotected Result handleException(ExecutionContext context, java.lang.Throwable t)
context - ExecutionContextt - 対象の例外(RuntimeException または Errorのいずれかとなる)protected java.util.Set<java.lang.Object> getProcessedHandlers(ExecutionContext context)
context - ExecutionContextprotected Result handleRuntimeException(ExecutionContext context, java.lang.RuntimeException e)
context - ExecutionContexte - 例外java.lang.RuntimeException - 例外を処理できない場合、または付け替えた例外protected Result handleError(ExecutionContext context, java.lang.Error e) throws java.lang.Error
context - ExecutionContexte - 例外java.lang.Error - 例外を処理できない場合java.lang.RuntimeException - 例外を処理できない場合、または付け替えた例外