public class InterceptorImpl extends LocalObject implements ClientRequestInterceptor, ServerRequestInterceptor
| Modifier and Type | Field and Description |
|---|---|
static String |
CLIENT_POLICY_CHECKING |
static String |
INTEROP_MODE |
static Object |
NO_REPLY |
static int |
NO_REPLY_SLOT |
static Object |
NULL_CTX |
static int |
NULL_CTX_SLOT |
static ThreadLocal |
otsThreadLocal |
static Object |
PROPER_CTX |
static Object |
REPLY |
| Constructor and Description |
|---|
InterceptorImpl(Current pic,
Codec codec,
int[] slotIds,
TSIdentification tsi) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
static Object |
getThreadLocalData(int slot) |
static boolean |
isDummyContext(org.omg.CosTransactions.PropagationContext ctx) |
static boolean |
isEjbAdapterName(String[] adapterName) |
static boolean |
isNullContext(org.omg.CosTransactions.PropagationContext ctx) |
static boolean |
isTxCtxtNull() |
String |
name() |
void |
receive_exception(ClientRequestInfo ri) |
void |
receive_other(ClientRequestInfo ri) |
void |
receive_reply(ClientRequestInfo ri) |
void |
receive_request_service_contexts(ServerRequestInfo ri) |
void |
receive_request(ServerRequestInfo ri) |
void |
send_exception(ServerRequestInfo ri) |
void |
send_other(ServerRequestInfo ri) |
void |
send_poll(ClientRequestInfo ri) |
void |
send_reply(ServerRequestInfo ri) |
void |
send_request(ClientRequestInfo ri) |
static void |
setOrb(ORB orb) |
static void |
setThreadLocalData(int slot,
Object data) |
void |
setTSIdentification(TSIdentification tsi) |
_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_connectionclone, 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_overridepublic static final int NO_REPLY_SLOT
public static final int NULL_CTX_SLOT
public static final Object PROPER_CTX
public static final Object NULL_CTX
public static final Object REPLY
public static final Object NO_REPLY
public static final String CLIENT_POLICY_CHECKING
public static final String INTEROP_MODE
public static final ThreadLocal otsThreadLocal
public InterceptorImpl(Current pic, Codec codec, int[] slotIds, TSIdentification tsi)
public void setTSIdentification(TSIdentification tsi)
public String name()
name in interface InterceptorOperationspublic void destroy()
destroy in interface InterceptorOperationspublic void send_request(ClientRequestInfo ri) throws ForwardRequest
send_request in interface ClientRequestInterceptorOperationsForwardRequestpublic void send_poll(ClientRequestInfo ri)
send_poll in interface ClientRequestInterceptorOperationspublic void receive_reply(ClientRequestInfo ri)
receive_reply in interface ClientRequestInterceptorOperationspublic void receive_exception(ClientRequestInfo ri) throws ForwardRequest
receive_exception in interface ClientRequestInterceptorOperationsForwardRequestpublic void receive_other(ClientRequestInfo ri) throws ForwardRequest
receive_other in interface ClientRequestInterceptorOperationsForwardRequestpublic void receive_request_service_contexts(ServerRequestInfo ri) throws ForwardRequest
receive_request_service_contexts in interface ServerRequestInterceptorOperationsForwardRequestpublic void receive_request(ServerRequestInfo ri) throws ForwardRequest
receive_request in interface ServerRequestInterceptorOperationsForwardRequestpublic void send_reply(ServerRequestInfo ri)
send_reply in interface ServerRequestInterceptorOperationspublic void send_exception(ServerRequestInfo ri) throws ForwardRequest
send_exception in interface ServerRequestInterceptorOperationsForwardRequestpublic void send_other(ServerRequestInfo ri) throws ForwardRequest
send_other in interface ServerRequestInterceptorOperationsForwardRequestpublic static boolean isTxCtxtNull()
public static boolean isNullContext(org.omg.CosTransactions.PropagationContext ctx)
public static boolean isDummyContext(org.omg.CosTransactions.PropagationContext ctx)
public static void setThreadLocalData(int slot,
Object data)
public static Object getThreadLocalData(int slot)
public static void setOrb(ORB orb)
public static boolean isEjbAdapterName(String[] adapterName)
Copyright © 2017. All rights reserved.