|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jotm.jta.rmi.JTATransactionServiceContext
public class JTATransactionServiceContext
Class JTATransactionServiceContext
is a JRMP Class for Transaction
Context Propagation
Constructor Summary | |
---|---|
JTATransactionServiceContext()
empty constructor for extarenalizable |
Method Summary | |
---|---|
int |
getContextId()
the JServiceContext id |
TransactionContext |
getTransactionContext()
get the transaction context |
void |
readExternal(java.io.ObjectInput in)
readExternal to initialise Transaction context |
void |
setContext(TransactionContext txCtx,
boolean isReply)
constructor |
void |
writeExternal(java.io.ObjectOutput out)
writeExternal to send Transaction context |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JTATransactionServiceContext()
Method Detail |
---|
public int getContextId()
getContextId
in interface org.objectweb.carol.rmi.jrmp.interceptor.JServiceContext
public void setContext(TransactionContext txCtx, boolean isReply)
txCtx
- TransactionContext the RMI (Serializable) Transaction ContextisReply
- boolean is reply indicatorpublic TransactionContext getTransactionContext()
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
in
- the object input
java.io.IOException
java.lang.ClassNotFoundException
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
out
- the object output
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |