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.ServerRequestInterceptor
This 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 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 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 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(org.omg.PortableInterceptor.ClientRequestInfo ri)
void
receive_other(org.omg.PortableInterceptor.ClientRequestInfo ri)
void
receive_reply(org.omg.PortableInterceptor.ClientRequestInfo ri)
void
receive_request(org.omg.PortableInterceptor.ServerRequestInfo ri)
void
receive_request_service_contexts(org.omg.PortableInterceptor.ServerRequestInfo ri)
void
send_exception(org.omg.PortableInterceptor.ServerRequestInfo ri)
void
send_other(org.omg.PortableInterceptor.ServerRequestInfo ri)
void
send_poll(org.omg.PortableInterceptor.ClientRequestInfo ri)
void
send_reply(org.omg.PortableInterceptor.ServerRequestInfo ri)
void
send_request(org.omg.PortableInterceptor.ClientRequestInfo ri)
static void
setOrb(org.omg.CORBA.ORB orb)
static void
setThreadLocalData(int slot, Object data)
void
setTSIdentification(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:
name
in interfaceorg.omg.PortableInterceptor.InterceptorOperations
-
destroy
public void destroy()
- Specified by:
destroy
in interfaceorg.omg.PortableInterceptor.InterceptorOperations
-
send_request
public void send_request(org.omg.PortableInterceptor.ClientRequestInfo ri) throws org.omg.PortableInterceptor.ForwardRequest
- Specified by:
send_request
in interfaceorg.omg.PortableInterceptor.ClientRequestInterceptorOperations
- Throws:
org.omg.PortableInterceptor.ForwardRequest
-
send_poll
public void send_poll(org.omg.PortableInterceptor.ClientRequestInfo ri)
- Specified by:
send_poll
in interfaceorg.omg.PortableInterceptor.ClientRequestInterceptorOperations
-
receive_reply
public void receive_reply(org.omg.PortableInterceptor.ClientRequestInfo ri)
- Specified by:
receive_reply
in interfaceorg.omg.PortableInterceptor.ClientRequestInterceptorOperations
-
receive_exception
public void receive_exception(org.omg.PortableInterceptor.ClientRequestInfo ri) throws org.omg.PortableInterceptor.ForwardRequest
- Specified by:
receive_exception
in 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_other
in 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_contexts
in 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_request
in interfaceorg.omg.PortableInterceptor.ServerRequestInterceptorOperations
- Throws:
org.omg.PortableInterceptor.ForwardRequest
-
send_reply
public void send_reply(org.omg.PortableInterceptor.ServerRequestInfo ri)
- Specified by:
send_reply
in interfaceorg.omg.PortableInterceptor.ServerRequestInterceptorOperations
-
send_exception
public void send_exception(org.omg.PortableInterceptor.ServerRequestInfo ri) throws org.omg.PortableInterceptor.ForwardRequest
- Specified by:
send_exception
in 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_other
in 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)
-
-