Class ThreadContextClearHandler
java.lang.Object
nablarch.common.handler.threadcontext.ThreadContextClearHandler
- All Implemented Interfaces:
Handler<Object,,Object> InboundHandleable,OutboundHandleable
public class ThreadContextClearHandler
extends Object
implements Handler<Object,Object>, InboundHandleable, OutboundHandleable
ThreadContextHandlerで設定したThreadContext上の値をクリアするハンドラ。
このハンドラより手前では、復路処理でもThreadContextにアクセスすることはできない。
このため、極力先頭に設定する必要がある。
- Author:
- siosio
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionhandle(Object o, ExecutionContext context) 入力データに対する処理を実行する。handleInbound(ExecutionContext context) 前処理を実装する。handleOutbound(ExecutionContext context) 後処理を実装する。
-
Constructor Details
-
ThreadContextClearHandler
public ThreadContextClearHandler()
-
-
Method Details
-
handle
Description copied from interface:Handler入力データに対する処理を実行する。 -
handleInbound
Description copied from interface:InboundHandleable前処理を実装する。- Specified by:
handleInboundin interfaceInboundHandleable- Parameters:
context- ExecutionContext- Returns:
- 処理結果オブジェクト
-
handleOutbound
Description copied from interface:OutboundHandleable後処理を実装する。- Specified by:
handleOutboundin interfaceOutboundHandleable- Parameters:
context- ExecutionContext- Returns:
- 処理結果オブジェクト
-