Package com.sun.jts.pi
Class InterceptorImpl
- java.lang.Object
-
- org.omg.CORBA.LocalObject
-
- com.sun.jts.pi.InterceptorImpl
-
- All Implemented Interfaces:
Serializable,org.omg.CORBA.Object,org.omg.CORBA.portable.IDLEntity,org.omg.PortableInterceptor.ClientRequestInterceptor,org.omg.PortableInterceptor.ClientRequestInterceptorOperations,org.omg.PortableInterceptor.Interceptor,org.omg.PortableInterceptor.InterceptorOperations,org.omg.PortableInterceptor.ServerRequestInterceptor,org.omg.PortableInterceptor.ServerRequestInterceptorOperations
public class InterceptorImpl extends org.omg.CORBA.LocalObject implements org.omg.PortableInterceptor.ClientRequestInterceptor, org.omg.PortableInterceptor.ServerRequestInterceptorThis is the implementation of the JTS PI-based client/server interceptor. This will be called during request/reply invocation path.- Version:
- 1.0, $Revision: 1.7 $ on $Date: 2007/04/02 09:07:59 $
- Author:
- Ram Jeyaraman 11/11/2000, $Author: sankara $
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLIENT_POLICY_CHECKINGstatic StringINTEROP_MODEstatic ObjectNO_REPLYstatic intNO_REPLY_SLOTstatic ObjectNULL_CTXstatic intNULL_CTX_SLOTstatic ThreadLocalotsThreadLocalstatic ObjectPROPER_CTXstatic ObjectREPLY
-
Constructor Summary
Constructors Constructor Description InterceptorImpl(org.omg.PortableInterceptor.Current pic, org.omg.IOP.Codec codec, int[] slotIds, org.omg.CORBA.TSIdentification tsi)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()static ObjectgetThreadLocalData(int slot)static booleanisDummyContext(org.omg.CosTransactions.PropagationContext ctx)static booleanisEjbAdapterName(String[] adapterName)static booleanisNullContext(org.omg.CosTransactions.PropagationContext ctx)static booleanisTxCtxtNull()Stringname()voidreceive_exception(org.omg.PortableInterceptor.ClientRequestInfo ri)voidreceive_other(org.omg.PortableInterceptor.ClientRequestInfo ri)voidreceive_reply(org.omg.PortableInterceptor.ClientRequestInfo ri)voidreceive_request(org.omg.PortableInterceptor.ServerRequestInfo ri)voidreceive_request_service_contexts(org.omg.PortableInterceptor.ServerRequestInfo ri)voidsend_exception(org.omg.PortableInterceptor.ServerRequestInfo ri)voidsend_other(org.omg.PortableInterceptor.ServerRequestInfo ri)voidsend_poll(org.omg.PortableInterceptor.ClientRequestInfo ri)voidsend_reply(org.omg.PortableInterceptor.ServerRequestInfo ri)voidsend_request(org.omg.PortableInterceptor.ClientRequestInfo ri)static voidsetOrb(org.omg.CORBA.ORB orb)static voidsetThreadLocalData(int slot, Object data)voidsetTSIdentification(org.omg.CORBA.TSIdentification tsi)-
Methods inherited from class org.omg.CORBA.LocalObject
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface, _get_interface_def, _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
-
-
-
-
Field Detail
-
NO_REPLY_SLOT
public static final int NO_REPLY_SLOT
- See Also:
- Constant Field Values
-
NULL_CTX_SLOT
public static final int NULL_CTX_SLOT
- See Also:
- Constant Field Values
-
PROPER_CTX
public static final Object PROPER_CTX
-
NULL_CTX
public static final Object NULL_CTX
-
REPLY
public static final Object REPLY
-
NO_REPLY
public static final Object NO_REPLY
-
CLIENT_POLICY_CHECKING
public static final String CLIENT_POLICY_CHECKING
- See Also:
- Constant Field Values
-
INTEROP_MODE
public static final String INTEROP_MODE
- See Also:
- Constant Field Values
-
otsThreadLocal
public static final ThreadLocal otsThreadLocal
-
-
Method Detail
-
setTSIdentification
public void setTSIdentification(org.omg.CORBA.TSIdentification tsi)
-
name
public String name()
- Specified by:
namein interfaceorg.omg.PortableInterceptor.InterceptorOperations
-
destroy
public void destroy()
- Specified by:
destroyin interfaceorg.omg.PortableInterceptor.InterceptorOperations
-
send_request
public void send_request(org.omg.PortableInterceptor.ClientRequestInfo ri) throws org.omg.PortableInterceptor.ForwardRequest- Specified by:
send_requestin interfaceorg.omg.PortableInterceptor.ClientRequestInterceptorOperations- Throws:
org.omg.PortableInterceptor.ForwardRequest
-
send_poll
public void send_poll(org.omg.PortableInterceptor.ClientRequestInfo ri)
- Specified by:
send_pollin interfaceorg.omg.PortableInterceptor.ClientRequestInterceptorOperations
-
receive_reply
public void receive_reply(org.omg.PortableInterceptor.ClientRequestInfo ri)
- Specified by:
receive_replyin interfaceorg.omg.PortableInterceptor.ClientRequestInterceptorOperations
-
receive_exception
public void receive_exception(org.omg.PortableInterceptor.ClientRequestInfo ri) throws org.omg.PortableInterceptor.ForwardRequest- Specified by:
receive_exceptionin interfaceorg.omg.PortableInterceptor.ClientRequestInterceptorOperations- Throws:
org.omg.PortableInterceptor.ForwardRequest
-
receive_other
public void receive_other(org.omg.PortableInterceptor.ClientRequestInfo ri) throws org.omg.PortableInterceptor.ForwardRequest- Specified by:
receive_otherin interfaceorg.omg.PortableInterceptor.ClientRequestInterceptorOperations- Throws:
org.omg.PortableInterceptor.ForwardRequest
-
receive_request_service_contexts
public void receive_request_service_contexts(org.omg.PortableInterceptor.ServerRequestInfo ri) throws org.omg.PortableInterceptor.ForwardRequest- Specified by:
receive_request_service_contextsin interfaceorg.omg.PortableInterceptor.ServerRequestInterceptorOperations- Throws:
org.omg.PortableInterceptor.ForwardRequest
-
receive_request
public void receive_request(org.omg.PortableInterceptor.ServerRequestInfo ri) throws org.omg.PortableInterceptor.ForwardRequest- Specified by:
receive_requestin interfaceorg.omg.PortableInterceptor.ServerRequestInterceptorOperations- Throws:
org.omg.PortableInterceptor.ForwardRequest
-
send_reply
public void send_reply(org.omg.PortableInterceptor.ServerRequestInfo ri)
- Specified by:
send_replyin interfaceorg.omg.PortableInterceptor.ServerRequestInterceptorOperations
-
send_exception
public void send_exception(org.omg.PortableInterceptor.ServerRequestInfo ri) throws org.omg.PortableInterceptor.ForwardRequest- Specified by:
send_exceptionin interfaceorg.omg.PortableInterceptor.ServerRequestInterceptorOperations- Throws:
org.omg.PortableInterceptor.ForwardRequest
-
send_other
public void send_other(org.omg.PortableInterceptor.ServerRequestInfo ri) throws org.omg.PortableInterceptor.ForwardRequest- Specified by:
send_otherin interfaceorg.omg.PortableInterceptor.ServerRequestInterceptorOperations- Throws:
org.omg.PortableInterceptor.ForwardRequest
-
isTxCtxtNull
public static boolean isTxCtxtNull()
-
isNullContext
public static boolean isNullContext(org.omg.CosTransactions.PropagationContext ctx)
-
isDummyContext
public static boolean isDummyContext(org.omg.CosTransactions.PropagationContext ctx)
-
setThreadLocalData
public static void setThreadLocalData(int slot, Object data)
-
getThreadLocalData
public static Object getThreadLocalData(int slot)
-
setOrb
public static void setOrb(org.omg.CORBA.ORB orb)
-
isEjbAdapterName
public static boolean isEjbAdapterName(String[] adapterName)
-
-