public class JTATransactionServiceContext extends Object implements org.ow2.carol.rmi.interceptor.spi.JServiceContext, Externalizable
JTATransactionServiceContext is a JRMP Class for Transaction
Context Propagation| Constructor and Description |
|---|
JTATransactionServiceContext()
empty constructor for externalizable
|
| Modifier and Type | Method and Description |
|---|---|
int |
getContextId()
the JServiceContext id
|
TransactionContext |
getTransactionContext()
get the transaction context
|
void |
readExternal(ObjectInput in)
readExternal to initialize Transaction context
|
void |
setContext(TransactionContext txCtx,
boolean isReply)
constructor
|
void |
writeExternal(ObjectOutput out)
writeExternal to send Transaction context
|
public JTATransactionServiceContext()
public int getContextId()
getContextId in interface org.ow2.carol.rmi.interceptor.spi.JServiceContextpublic void setContext(TransactionContext txCtx, boolean isReply)
txCtx - TransactionContext the RMI (Serializable) Transaction ContextisReply - boolean is reply indicatorpublic TransactionContext getTransactionContext()
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface Externalizablein - the object inputIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface Externalizableout - the object outputIOExceptionCopyright © 2005-2013 OW2 Consortium. All Rights Reserved.