|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Objectnablarch.fw.invoker.PipelineInvoker
@Published(tag="architect") public class PipelineInvoker
事前処理、事後処理を行うInvoker.
| フィールドの概要 | |
|---|---|
static java.lang.String |
PROCESSED_HANDLERS_KEY
処理済ハンドラリストのキー。 |
| コンストラクタの概要 | |
|---|---|
PipelineInvoker()
|
|
| メソッドの概要 | |
|---|---|
protected java.util.Set<java.lang.Object> |
getProcessedHandlers(nablarch.fw.ExecutionContext context)
処理済ハンドラのSetを取得する。 |
protected nablarch.fw.Result |
handleError(nablarch.fw.ExecutionContext context,
java.lang.Error e)
Error の例外処理を行う。 |
protected nablarch.fw.Result |
handleException(nablarch.fw.ExecutionContext context,
java.lang.Throwable t)
例外処理を行う |
protected nablarch.fw.Result |
handleRuntimeException(nablarch.fw.ExecutionContext context,
java.lang.RuntimeException e)
RuntimeExceptionの例外処理を行う。 |
nablarch.fw.Result |
invokeInbound(nablarch.fw.ExecutionContext context)
事前処理を実行する。 |
nablarch.fw.Result |
invokeOutbound(nablarch.fw.ExecutionContext context)
事前処理を実行する。 |
void |
setExceptionHandler(nablarch.fw.ExceptionHandler exceptionHandler)
例外処理を行う ExceptionHandlerを設定する。 |
void |
setHandlerListBuilder(PipelineListBuilder handlerListBuilder)
実行対象となるハンドラリストを組み立てる PipelineListBuilder を設定する。 |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
|---|
public static final java.lang.String PROCESSED_HANDLERS_KEY
| コンストラクタの詳細 |
|---|
public PipelineInvoker()
| メソッドの詳細 |
|---|
public void setHandlerListBuilder(PipelineListBuilder handlerListBuilder)
PipelineListBuilder を設定する。
handlerListBuilder - 実行対象となるハンドラリストを組み立てるPipelineListBuilderpublic void setExceptionHandler(nablarch.fw.ExceptionHandler exceptionHandler)
ExceptionHandlerを設定する。
exceptionHandler - 例外処理を行う ExceptionHandlerpublic nablarch.fw.Result invokeInbound(nablarch.fw.ExecutionContext context)
context - ExecutionContext
public nablarch.fw.Result invokeOutbound(nablarch.fw.ExecutionContext context)
context - ExecutionContext
protected nablarch.fw.Result handleException(nablarch.fw.ExecutionContext context,
java.lang.Throwable t)
context - ExecutionContextt - 対象の例外(RuntimeException または Errorのいずれかとなる)
protected java.util.Set<java.lang.Object> getProcessedHandlers(nablarch.fw.ExecutionContext context)
context - ExecutionContext
protected nablarch.fw.Result handleRuntimeException(nablarch.fw.ExecutionContext context,
java.lang.RuntimeException e)
context - ExecutionContexte - 例外
java.lang.RuntimeException - 例外を処理できない場合、または付け替えた例外
protected nablarch.fw.Result handleError(nablarch.fw.ExecutionContext context,
java.lang.Error e)
throws java.lang.Error
context - ExecutionContexte - 例外
java.lang.Error - 例外を処理できない場合
java.lang.RuntimeException - 例外を処理できない場合、または付け替えた例外
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||