org.openorb.ots.ORB

Class TransactionalServerInterceptor

public class TransactionalServerInterceptor extends LocalObject implements ServerRequestInterceptor, LogEnabled

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

Constructor Summary
TransactionalServerInterceptor(ORBInitInfo info, int slot)
Constructor which initializes the ORBInitInfo and the slot reference
Method Summary
voiddestroy()
Destroy the interceptor.
voidenableLogging(Logger logger)
Stringname()
return the name of the Transactional Server Interceptor
voidreceive_request(ServerRequestInfo ri)
receive request operation
voidreceive_request_service_contexts(ServerRequestInfo ri)
get the transaction propagation context from the service context list and save it to the PICurrent.
voidsend_exception(ServerRequestInfo ri)
send exception operation
voidsend_other(ServerRequestInfo ri)
send other operation
voidsend_reply(ServerRequestInfo ri)
send reply operation

Constructor Detail

TransactionalServerInterceptor

public TransactionalServerInterceptor(ORBInitInfo info, int slot)
Constructor which initializes the ORBInitInfo and the slot reference

Method Detail

destroy

public void destroy()
Destroy the interceptor.

enableLogging

public void enableLogging(Logger logger)

name

public String name()
return the name of the Transactional Server Interceptor

receive_request

public void receive_request(ServerRequestInfo ri)
receive request operation

receive_request_service_contexts

public void receive_request_service_contexts(ServerRequestInfo ri)
get the transaction propagation context from the service context list and save it to the PICurrent.

Parameters: ri the client request

send_exception

public void send_exception(ServerRequestInfo ri)
send exception operation

send_other

public void send_other(ServerRequestInfo ri)
send other operation

send_reply

public void send_reply(ServerRequestInfo ri)
send reply operation