OW2 Consortium jotm

Compare Revisions

Ignore whitespace Rev 1132 → Rev 1133

/branches/jotm-2-0-11-br/jotm/src/main/org/objectweb/jotm/jta/rmi/JTAClientTransactionInterceptor.java
81,10 → 81,6
* constructor
*/
public JTAClientTransactionInterceptor() {
if (TraceTm.jta.isDebugEnabled()) {
TraceTm.jta.debug("JTAClientTransactionInterceptor constructor");
}
// log.trace("default constructor");
}
 
/**
/branches/jotm-2-0-11-br/jotm/src/main/org/objectweb/jotm/jta/rmi/JTAServerTransactionInterceptor.java
82,10 → 82,6
* constructor
*/
public JTAServerTransactionInterceptor() {
if (TraceTm.jta.isDebugEnabled()) {
TraceTm.jta.debug("JTAServerTransactionInterceptor constructor");
}
// log.trace("default constructor");
}
 
/**
/branches/jotm-2-0-11-br/jotm/src/main/org/objectweb/jotm/jta/rmi/JTATransactionServiceContext.java
83,9 → 83,6
* empty constructor for extarenalizable
*/
public JTATransactionServiceContext() {
if (TraceTm.jta.isDebugEnabled()) {
TraceTm.jta.debug("JTATransactionServiceContext constructor");
}
this.context_id = JTAClientTransactionInterceptor.TX_CTX_ID;
}
 
93,9 → 90,6
* the JServiceContext id
*/
public int getContextId() {
if (TraceTm.jta.isDebugEnabled()) {
TraceTm.jta.debug("JTATransactionServiceContext.getContextId()");
}
return context_id;
}
 
105,9 → 99,6
* @param isReply boolean is reply indicator
*/
public void setContext(TransactionContext txCtx, boolean isReply) {
if (TraceTm.jta.isDebugEnabled()) {
TraceTm.jta.debug("JTATransactionServiceContext.setContext()");
}
this.txCtx = txCtx;
this.isReply = isReply;
}
117,9 → 108,6
* @return TransactionContext the Transaction context
*/
public TransactionContext getTransactionContext() {
if (TraceTm.jta.isDebugEnabled()) {
TraceTm.jta.debug("JTATransactionServiceContext.getTransactionContext()");
}
return txCtx;
}
 
129,9 → 117,6
*/
public void readExternal(ObjectInput in)
throws IOException, ClassNotFoundException {
if (TraceTm.jta.isDebugEnabled()) {
TraceTm.jta.debug("JTATransactionServiceContext.readExternal()");
}
// read Xid
int fid = in.readInt();
byte[] gti = new byte[in.readInt()];
151,9 → 136,6
* @param out the object output
*/
public void writeExternal(ObjectOutput out) throws IOException {
if (TraceTm.jta.isDebugEnabled()) {
TraceTm.jta.debug("JTATransactionServiceContext.writeExternal()");
}
// send Xid
Xid xid = txCtx.getXid();
out.writeInt(xid.getFormatId());