org.objectweb.jotm.jta.rmi
Class JTAServerTransactionInterceptor

java.lang.Object
  |
  +--org.objectweb.jotm.jta.rmi.JTAServerTransactionInterceptor
All Implemented Interfaces:
org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInterceptor

public class JTAServerTransactionInterceptor
extends Object
implements org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInterceptor

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

Version:
1.0, 13/09/2002
Author:
Guillaume Riviere (Guillaume.Riviere@inrialpes.fr)

Constructor Summary
JTAServerTransactionInterceptor()
          constructor
 
Method Summary
 String name()
          get the name of this interceptor
 void receive_request(org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInfo jri)
          Receive request
 void send_exception(org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInfo jri)
           
 void send_other(org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInfo jri)
           
 void send_reply(org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInfo jri)
          send reply with context
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JTAServerTransactionInterceptor

public JTAServerTransactionInterceptor()
constructor

Method Detail

receive_request

public void receive_request(org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInfo jri)
                     throws IOException
Receive request

Specified by:
receive_request in interface org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInterceptor
Throws:
IOException - if an exception occur with the ObjectOutput

send_reply

public void send_reply(org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInfo jri)
                throws IOException
send reply with context

Specified by:
send_reply in interface org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInterceptor
Throws:
IOException - if an exception occur with the ObjectOutput

name

public String name()
get the name of this interceptor

Specified by:
name in interface org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInterceptor
Returns:
name

send_exception

public void send_exception(org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInfo jri)
                    throws IOException
Specified by:
send_exception in interface org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInterceptor
IOException

send_other

public void send_other(org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInfo jri)
                throws IOException
Specified by:
send_other in interface org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInterceptor
IOException