tyrex.corba
Class ServerInterceptor

tyrex.corba.ServerInterceptor

public class ServerInterceptor

The Server side interceptor is used to retrieve the service context for the transaction service The service context is added to the corresponding current object

Author:
Marina Daniel <mdaniel@intalio.com>

Constructor Summary
ServerInterceptor(org.omg.PortableInterceptor.ORBInitInfo info, int t_slot)
          Constructor which initializes the ORBInitInfo and the slot reference
 
Method Summary
 void destroy()
          Called to destroy the interceptor
 void fatal(java.lang.String from, java.lang.String msg)
          Displays a trace and throw a INTERNAL exception...
 java.lang.String name()
          return the name of the Transactional Server Interceptor
 void receive_request_service_contexts(org.omg.PortableInterceptor.ServerRequestInfo ri)
          get the transaction propagation context from the service context list and save it to the PICurrent
 void receive_request(org.omg.PortableInterceptor.ServerRequestInfo ri)
          receive request operation
 void send_exception(org.omg.PortableInterceptor.ServerRequestInfo ri)
          send exception operation
 void send_other(org.omg.PortableInterceptor.ServerRequestInfo ri)
          send other operation
 void send_reply(org.omg.PortableInterceptor.ServerRequestInfo ri)
          send reply operation
 

Constructor Detail

ServerInterceptor

public ServerInterceptor(org.omg.PortableInterceptor.ORBInitInfo info,
                         int t_slot)
Constructor which initializes the ORBInitInfo and the slot reference
Method Detail

receive_request_service_contexts

public void receive_request_service_contexts(org.omg.PortableInterceptor.ServerRequestInfo ri)
                                      throws org.omg.PortableInterceptor.ForwardRequest
get the transaction propagation context from the service context list and save it to the PICurrent
Parameters:
ri - the client request

receive_request

public void receive_request(org.omg.PortableInterceptor.ServerRequestInfo ri)
                     throws org.omg.PortableInterceptor.ForwardRequest
receive request operation

send_reply

public void send_reply(org.omg.PortableInterceptor.ServerRequestInfo ri)
send reply operation

send_exception

public void send_exception(org.omg.PortableInterceptor.ServerRequestInfo ri)
                    throws org.omg.PortableInterceptor.ForwardRequest
send exception operation

send_other

public void send_other(org.omg.PortableInterceptor.ServerRequestInfo ri)
                throws org.omg.PortableInterceptor.ForwardRequest
send other operation

name

public java.lang.String name()
return the name of the Transactional Server Interceptor

destroy

public void destroy()
Called to destroy the interceptor

fatal

public void fatal(java.lang.String from,
                  java.lang.String msg)
Displays a trace and throw a INTERNAL exception...


Intalio Inc. (C) 1999-2001. All rights reserved.