tyrex.corba

Class ServerInterceptor

public class ServerInterceptor extends LocalObject implements ServerRequestInterceptor

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(ORBInitInfo info, int t_slot)
Constructor which initializes the ORBInitInfo and the slot reference
Method Summary
voiddestroy()
Called to destroy the interceptor
voidfatal(String from, String msg)
Displays a trace and throw a INTERNAL exception...
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

ServerInterceptor

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

Method Detail

destroy

public void destroy()
Called to destroy the interceptor

fatal

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

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
Original code is Copyright (c) 1999-2001, Intalio, Inc. All Rights Reserved. Contributions by MetaBoss team are Copyright (c) 2003-2005, Softaris Pty. Ltd. All Rights Reserved.