org.objectweb.jotm.jta.rmi

Class JTAServerTransactionInterceptor

Implemented Interfaces:
JServerRequestInterceptor

public class JTAServerTransactionInterceptor
extends Object
implements JServerRequestInterceptor

Class JTAServerTransactionInterceptor is a JRMP Transaction server interceptor for Transaction Context propagation

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

Field Summary

static int
TX_CTX_ID
transaction context id

Constructor Summary

JTAServerTransactionInterceptor()
constructor

Method Summary

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

Field Details

TX_CTX_ID

public static int TX_CTX_ID
transaction context id

Constructor Details

JTAServerTransactionInterceptor

public JTAServerTransactionInterceptor()
constructor

Method Details

name

public String name()
get the name of this interceptor

Returns:
name


receive_request

public void receive_request(JServerRequestInfo jri)
            throws IOException
Receive request

Parameters:
jri - JServerRequestInfo the jrmp server request information


send_exception

public void send_exception(JServerRequestInfo jri)
            throws IOException


send_other

public void send_other(JServerRequestInfo jri)
            throws IOException


send_reply

public void send_reply(JServerRequestInfo jri)
            throws IOException
send reply with context

Parameters:
jri - JServerRequestInfo the jrmp server request information