Package nablarch.test
Class FixedExecutionIdAttribute
java.lang.Object
nablarch.common.handler.threadcontext.ExecutionIdAttribute
nablarch.test.FixedExecutionIdAttribute
- All Implemented Interfaces:
ThreadContextAttribute<Object>
スレッドコンテキスト(
ThreadContext)に固定の実行時IDを保持する。-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetValue(Object req, ExecutionContext ctx) スレッドコンテキストに格納するプロパティの値を返す。voidsetExecutionId(String executionId) 実行時IDを設定する。Methods inherited from class nablarch.common.handler.threadcontext.ExecutionIdAttribute
getKey
-
Constructor Details
-
FixedExecutionIdAttribute
public FixedExecutionIdAttribute()
-
-
Method Details
-
getValue
Description copied from class:ExecutionIdAttributeスレッドコンテキストに格納するプロパティの値を返す。- Specified by:
getValuein interfaceThreadContextAttribute<Object>- Overrides:
getValuein classExecutionIdAttribute- Parameters:
req- ハンドラの入力データctx- 実行コンテキスト情報- Returns:
- プロパティの値
-
setExecutionId
実行時IDを設定する。- Parameters:
executionId- 実行時ID
-