org.objectweb.jotm.ots
Class OTSClientTransactionInterceptor
- ClientRequestInterceptor
public class OTSClientTransactionInterceptor
implements ClientRequestInterceptor
Class OTSClientTransactionInterceptor
is a Client Interceptor for OTS Java Client
of JOTM. This Interceptor translate the Standart OTS Propagation Context to a Internal JOTM
Transaction context
- Guillaume Riviere (Guillaume.Riviere@inrialpes.fr)
OTSClientTransactionInterceptor
public OTSClientTransactionInterceptor(ORBInitInfo info)
constructor
destroy
public void destroy()
name
public String name()
get the name of this interceptor
- name
receive_exception
public void receive_exception(ClientRequestInfo jri)
throws ForwardRequest
receive_other
public void receive_other(ClientRequestInfo jri)
throws ForwardRequest
receive_reply
public void receive_reply(ClientRequestInfo jri)
Receive reply interception
jri
- JClientRequestInfo jri client info
send_poll
public void send_poll(ClientRequestInfo jri)
send_request
public void send_request(ClientRequestInfo jri)
throws ForwardRequest
send client transaction context with the request, if existed.
jri
- ClientRequestInfo iiop client info