org.objectweb.jotm.jta.rmi
Class JTAClientTransactionInterceptor
- JClientRequestInterceptor
public class JTAClientTransactionInterceptor
implements JClientRequestInterceptor
Class JTAClientTransactionInterceptor
is a JRMP Transaction client interceptor for
Transaction Context propagation
- Guillaume Riviere (Guillaume.Riviere@inrialpes.fr)
TX_CTX_ID
public static int TX_CTX_ID
transaction context id
JTAClientTransactionInterceptor
public JTAClientTransactionInterceptor()
constructor
name
public String name()
get the name of this interceptor
- name
receive_exception
public void receive_exception(JClientRequestInfo jri)
throws IOException
receive_other
public void receive_other(JClientRequestInfo jri)
throws IOException
receive_reply
public void receive_reply(JClientRequestInfo jri)
throws IOException
Receive reply interception
jri
- JClientRequestInfo the jrmp client info
send_poll
public void send_poll(JClientRequestInfo jri)
throws IOException
send_request
public void send_request(JClientRequestInfo jri)
throws IOException
send client context with the request. The sendingRequest method of the JPortableInterceptors
is called prior to marshalling arguments and contexts
jri
- JClientRequestInfo the jrmp client info