org.objectweb.jotm.ots

Class OTSClientTransactionInterceptor

Implemented Interfaces:
ClientRequestInterceptor

public class OTSClientTransactionInterceptor
extends OTSInterceptor
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

Author:
Guillaume Riviere (Guillaume.Riviere@inrialpes.fr)

Field Summary

Fields inherited from class org.objectweb.jotm.ots.OTSInterceptor

TX_CTX_ID, codec, dynAnyFactoryS_, orb

Constructor Summary

OTSClientTransactionInterceptor(ORBInitInfo info)
constructor

Method Summary

void
destroy()
String
name()
get the name of this interceptor
void
receive_exception(ClientRequestInfo jri)
void
receive_other(ClientRequestInfo jri)
void
receive_reply(ClientRequestInfo jri)
Receive reply interception
void
send_poll(ClientRequestInfo jri)
void
send_request(ClientRequestInfo jri)
send client transaction context with the request, if existed.

Methods inherited from class org.objectweb.jotm.ots.OTSInterceptor

buildCorbaPropagationContext, create_any, decodeCorbaPropagationContext

Constructor Details

OTSClientTransactionInterceptor

public OTSClientTransactionInterceptor(ORBInitInfo info)
constructor

Method Details

destroy

public void destroy()


name

public String name()
get the name of this interceptor

Returns:
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

Parameters:
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.

Parameters:
jri - ClientRequestInfo iiop client info