User: fleury
Date: 00/07/24 19:24:44
Modified: src/main/org/jboss/ejb/plugins/jrmp/interfaces
RemoteMethodInvocation.java
Log:
the tx needs to be propagated right,
band aid code right now
Revision Changes Path
1.3 +5 -4
jboss/src/main/org/jboss/ejb/plugins/jrmp/interfaces/RemoteMethodInvocation.java
Index: RemoteMethodInvocation.java
===================================================================
RCS file:
/products/cvs/ejboss/jboss/src/main/org/jboss/ejb/plugins/jrmp/interfaces/RemoteMethodInvocation.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- RemoteMethodInvocation.java 2000/06/21 11:51:33 1.2
+++ RemoteMethodInvocation.java 2000/07/25 02:24:44 1.3
@@ -27,7 +27,7 @@
* @author Rickard �berg ([EMAIL PROTECTED])
* @author <a href="mailto:[EMAIL PROTECTED]">Richard
Monson-Haefel</a>.
* @author <a href="mailto:[EMAIL PROTECTED]">Marc Fleury</a>.
- * @version $Revision: 1.2 $
+ * @version $Revision: 1.3 $
*/
public final class RemoteMethodInvocation
implements java.io.Serializable
@@ -41,7 +41,7 @@
Object[] args;
- Transaction tx;
+ transient Transaction tx;
Principal identity;
transient Map methodMap;
@@ -114,6 +114,7 @@
public void setTransaction(Transaction tx)
{
+ System.out.println("Set Transaction is CALLED with tx "+tx.hashCode());
this.tx = tx;
}
@@ -142,8 +143,8 @@
out.writeUTF(className);
out.writeInt(hash);
out.writeObject(args);
-// out.writeObject(tx);
-// out.writeObject(identity);
+ out.writeObject(tx);
+ out.writeObject(identity);
}
protected void readObject(java.io.ObjectInputStream in)