org.objectweb.jotm.ots

Class OTSInterceptor

Known Direct Subclasses:
OTSClientTransactionInterceptor, OTSServerTransactionInterceptor

public abstract class OTSInterceptor
extends LocalObject

Field Summary

protected int
TX_CTX_ID
protected Codec
codec
protected DynAnyFactory
dynAnyFactoryS_
protected static ORB
orb

Constructor Summary

OTSInterceptor(ORBInitInfo info)
constructor

Method Summary

protected ServiceContext
buildCorbaPropagationContext(TransactionContext txCtx)
Build and returns the CORBA PropagationContext (JTS)
protected Any
create_any()
protected TransactionContext
decodeCorbaPropagationContext(ServiceContext sCtx)
decode the Corba Propagation Context and build an internal transaction context

Field Details

TX_CTX_ID

protected final int TX_CTX_ID


codec

protected Codec codec


dynAnyFactoryS_

protected DynAnyFactory dynAnyFactoryS_


orb

protected static ORB orb

Constructor Details

OTSInterceptor

public OTSInterceptor(ORBInitInfo info)
constructor

Method Details

buildCorbaPropagationContext

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


create_any

protected Any create_any()
            throws org.omg.DynamicAny.DynAnyFactoryPackage.InconsistentTypeCode


decodeCorbaPropagationContext

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

Parameters:
sCtx - ServiceContext