dain 2005/02/25 18:06:16
Modified: modules/itests/src/itest/org/openejb/test/entity/bmp
BmpAllowedOperationsTests.java BmpEjbHomeTests.java
Log:
Added support for in-tx cacheing back in
This unturned a load of places that were not handling transaction contexts
properly and bugs in the context itself
Changed instance contexts so they track entrancy and can be killed as
required by the spec
Made all instance context fields final
Revision Changes Path
1.3 +3 -1
openejb/modules/itests/src/itest/org/openejb/test/entity/bmp/BmpAllowedOperationsTests.java
Index: BmpAllowedOperationsTests.java
===================================================================
RCS file:
/home/projects/openejb/scm/openejb/modules/itests/src/itest/org/openejb/test/entity/bmp/BmpAllowedOperationsTests.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- BmpAllowedOperationsTests.java 3 Feb 2005 03:11:00 -0000 1.2
+++ BmpAllowedOperationsTests.java 25 Feb 2005 23:06:15 -0000 1.3
@@ -44,6 +44,8 @@
*/
package org.openejb.test.entity.bmp;
+import java.rmi.RemoteException;
+
import org.openejb.test.object.OperationsPolicy;
/**
1.3 +2 -1
openejb/modules/itests/src/itest/org/openejb/test/entity/bmp/BmpEjbHomeTests.java
Index: BmpEjbHomeTests.java
===================================================================
RCS file:
/home/projects/openejb/scm/openejb/modules/itests/src/itest/org/openejb/test/entity/bmp/BmpEjbHomeTests.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- BmpEjbHomeTests.java 3 Feb 2005 03:11:00 -0000 1.2
+++ BmpEjbHomeTests.java 25 Feb 2005 23:06:16 -0000 1.3
@@ -95,6 +95,7 @@
return;
}
} catch (Exception e) {
+ e.printStackTrace();
fail("Received Exception " + e.getClass() + " : " +
e.getMessage());
}
}