public class ThreadContextClearHandler extends Object implements nablarch.fw.Handler<Object,Object>, nablarch.fw.InboundHandleable, nablarch.fw.OutboundHandleable
ThreadContextHandlerで設定したThreadContext上の値をクリアするハンドラ。
このハンドラより手前では、復路処理でもThreadContextにアクセスすることはできない。
このため、極力先頭に設定する必要がある。
| Constructor and Description |
|---|
ThreadContextClearHandler() |
| Modifier and Type | Method and Description |
|---|---|
Object |
handle(Object o,
nablarch.fw.ExecutionContext context) |
nablarch.fw.Result |
handleInbound(nablarch.fw.ExecutionContext context) |
nablarch.fw.Result |
handleOutbound(nablarch.fw.ExecutionContext context) |
public nablarch.fw.Result handleInbound(nablarch.fw.ExecutionContext context)
handleInbound in interface nablarch.fw.InboundHandleablepublic nablarch.fw.Result handleOutbound(nablarch.fw.ExecutionContext context)
handleOutbound in interface nablarch.fw.OutboundHandleableCopyright © 2020. All rights reserved.