org.objectweb.jotm.ots

Class OTSServerTransactionInterceptor

Implemented Interfaces:
ServerRequestInterceptor

public class OTSServerTransactionInterceptor
extends OTSInterceptor
implements ServerRequestInterceptor

Class OTSServerTransactionInterceptor is a Server Interceptor for OTS Java Server of JOTM. This Interceptor translate the Standart OTS Propagation Context to a Internal JOTM Transaction context

Version:
1.0, 13/09/2002

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

OTSServerTransactionInterceptor(ORBInitInfo info)
constructor

Method Summary

void
destroy()
String
name()
get the name of this interceptor
void
receive_request(ServerRequestInfo jri)
Receive request
void
receive_request_service_contexts(ServerRequestInfo jri)
Receive request context
void
send_exception(ServerRequestInfo jri)
void
send_other(ServerRequestInfo jri)
void
send_reply(ServerRequestInfo jri)
send reply with context

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

buildCorbaPropagationContext, create_any, decodeCorbaPropagationContext

Constructor Details

OTSServerTransactionInterceptor

public OTSServerTransactionInterceptor(ORBInitInfo info)
constructor

Method Details

destroy

public void destroy()


name

public String name()
get the name of this interceptor

Returns:
name


receive_request

public void receive_request(ServerRequestInfo jri)
            throws ForwardRequest
Receive request

Parameters:
jri - JServerRequestInfo the server request information


receive_request_service_contexts

public void receive_request_service_contexts(ServerRequestInfo jri)
            throws ForwardRequest
Receive request context

Parameters:
jri - JServerRequestInfo the server request information


send_exception

public void send_exception(ServerRequestInfo jri)
            throws ForwardRequest


send_other

public void send_other(ServerRequestInfo jri)
            throws ForwardRequest


send_reply

public void send_reply(ServerRequestInfo jri)
send reply with context

Parameters:
jri - JServerRequestInfo the server request information