Class 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
    • Constructor Detail

      • InterceptorImpl

        public InterceptorImpl​(org.omg.PortableInterceptor.Current pic,
                               org.omg.IOP.Codec codec,
                               int[] slotIds,
                               org.omg.CORBA.TSIdentification tsi)
    • Method Detail

      • setTSIdentification

        public void setTSIdentification​(org.omg.CORBA.TSIdentification tsi)
      • name

        public String name()
        Specified by:
        name in interface org.omg.PortableInterceptor.InterceptorOperations
      • destroy

        public void destroy()
        Specified by:
        destroy in interface org.omg.PortableInterceptor.InterceptorOperations
      • send_request

        public void send_request​(org.omg.PortableInterceptor.ClientRequestInfo ri)
                          throws org.omg.PortableInterceptor.ForwardRequest
        Specified by:
        send_request in interface org.omg.PortableInterceptor.ClientRequestInterceptorOperations
        Throws:
        org.omg.PortableInterceptor.ForwardRequest
      • send_poll

        public void send_poll​(org.omg.PortableInterceptor.ClientRequestInfo ri)
        Specified by:
        send_poll in interface org.omg.PortableInterceptor.ClientRequestInterceptorOperations
      • receive_reply

        public void receive_reply​(org.omg.PortableInterceptor.ClientRequestInfo ri)
        Specified by:
        receive_reply in interface org.omg.PortableInterceptor.ClientRequestInterceptorOperations
      • receive_exception

        public void receive_exception​(org.omg.PortableInterceptor.ClientRequestInfo ri)
                               throws org.omg.PortableInterceptor.ForwardRequest
        Specified by:
        receive_exception in interface org.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 interface org.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 interface org.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 interface org.omg.PortableInterceptor.ServerRequestInterceptorOperations
        Throws:
        org.omg.PortableInterceptor.ForwardRequest
      • send_reply

        public void send_reply​(org.omg.PortableInterceptor.ServerRequestInfo ri)
        Specified by:
        send_reply in interface org.omg.PortableInterceptor.ServerRequestInterceptorOperations
      • send_exception

        public void send_exception​(org.omg.PortableInterceptor.ServerRequestInfo ri)
                            throws org.omg.PortableInterceptor.ForwardRequest
        Specified by:
        send_exception in interface org.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 interface org.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)