org.objectweb.jotm.ots
Class OTSInterceptor

java.lang.Object
  extended by org.omg.CORBA.LocalObject
      extended by org.objectweb.jotm.ots.OTSInterceptor
All Implemented Interfaces:
Object
Direct Known Subclasses:
OTSClientTransactionInterceptor, OTSServerTransactionInterceptor

public abstract class OTSInterceptor
extends LocalObject


Field Summary
protected  Codec codec
           
protected  DynAnyFactory dynAnyFactoryS_
           
protected static ORB orb
           
protected  int TX_CTX_ID
           
 
Constructor Summary
OTSInterceptor(ORBInitInfo info)
          constructor
 
Method Summary
protected  ServiceContext buildCorbaPropagationContext(org.objectweb.jotm.TransactionContext txCtx)
          Build and returns the CORBA PropagationContext (JTS)
protected  Any create_any()
           
protected  org.objectweb.jotm.TransactionContext decodeCorbaPropagationContext(ServiceContext sCtx)
          decode the Corba Propagation Context and build an internal transaction context
 
Methods inherited from class org.omg.CORBA.LocalObject
_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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

codec

protected Codec codec

dynAnyFactoryS_

protected DynAnyFactory dynAnyFactoryS_

TX_CTX_ID

protected final int TX_CTX_ID
See Also:
Constant Field Values

orb

protected static ORB orb
Constructor Detail

OTSInterceptor

public OTSInterceptor(ORBInitInfo info)
constructor

Method Detail

create_any

protected Any create_any()
                  throws InconsistentTypeCode
Throws:
InconsistentTypeCode

buildCorbaPropagationContext

protected ServiceContext buildCorbaPropagationContext(org.objectweb.jotm.TransactionContext txCtx)
                                               throws ForwardRequest
Build and returns the CORBA PropagationContext (JTS)

Throws:
ForwardRequest

decodeCorbaPropagationContext

protected org.objectweb.jotm.TransactionContext decodeCorbaPropagationContext(ServiceContext sCtx)
decode the Corba Propagation Context and build an internal transaction context

Parameters:
sCtx - ServiceContext


Copyright ? 2005-2009 OW2 Consortium. All Rights Reserved.