public class TxServerInterceptor extends LocalObject implements ServerRequestInterceptor
org.omg.PortableInterceptor.ServerRequestInterceptor
retrieves the transactional context from incoming IIOP requests and
makes it available to the servant methods that handle the requests,
through the static method getCurrentTransaction
Constructor and Description |
---|
TxServerInterceptor() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
static Transaction |
getCurrentTransaction()
Returns the transaction associated with the transaction propagation
context that arrived in the current IIOP request.
|
String |
name() |
void |
receive_request_service_contexts(ServerRequestInfo ri) |
void |
receive_request(ServerRequestInfo ri) |
void |
send_exception(ServerRequestInfo ri) |
void |
send_other(ServerRequestInfo ri) |
void |
send_reply(ServerRequestInfo ri) |
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_policy_override, validate_connection
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
public static Transaction getCurrentTransaction()
public String name()
name
in interface InterceptorOperations
public void destroy()
destroy
in interface InterceptorOperations
public void receive_request_service_contexts(ServerRequestInfo ri)
receive_request_service_contexts
in interface ServerRequestInterceptorOperations
public void receive_request(ServerRequestInfo ri)
receive_request
in interface ServerRequestInterceptorOperations
public void send_reply(ServerRequestInfo ri)
send_reply
in interface ServerRequestInterceptorOperations
public void send_exception(ServerRequestInfo ri)
send_exception
in interface ServerRequestInterceptorOperations
public void send_other(ServerRequestInfo ri)
send_other
in interface ServerRequestInterceptorOperations
Copyright © 2017 JBoss by Red Hat. All rights reserved.