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