djencks     2004/04/05 20:43:07

  Modified:    modules/core/src/test/org/openejb/slsb InvocationTest.java
                        StatelessContextTest.java
  Log:

  Modifications for move of EJBUserTransaction to geronimo UserTransactionImpl
  
  Revision  Changes    Path
  1.3       +3 -3      
openejb/modules/core/src/test/org/openejb/slsb/InvocationTest.java
  
  Index: InvocationTest.java
  ===================================================================
  RCS file: 
/home/projects/openejb/scm/openejb/modules/core/src/test/org/openejb/slsb/InvocationTest.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- InvocationTest.java       21 Mar 2004 20:29:25 -0000      1.2
  +++ InvocationTest.java       6 Apr 2004 00:43:07 -0000       1.3
  @@ -51,6 +51,7 @@
   import javax.ejb.SessionBean;
   
   import org.apache.geronimo.core.service.SimpleInvocationResult;
  +import org.apache.geronimo.transaction.UserTransactionImpl;
   
   import junit.framework.TestCase;
   import net.sf.cglib.reflect.FastClass;
  @@ -59,7 +60,6 @@
   import org.openejb.EJBInvocationImpl;
   import org.openejb.dispatch.MethodSignature;
   import org.openejb.proxy.EJBProxyFactory;
  -import org.openejb.transaction.EJBUserTransaction;
   
   /**
    *
  @@ -126,7 +126,7 @@
                   "containerID",
                   instance,
                   (EJBProxyFactory)null,
  -                (EJBUserTransaction) null);
  +                (UserTransactionImpl) null);
           invocation.setEJBInstanceContext(ctx);
           bizMethod.execute(invocation);
           long start = System.currentTimeMillis();
  
  
  
  1.4       +3 -7      
openejb/modules/core/src/test/org/openejb/slsb/StatelessContextTest.java
  
  Index: StatelessContextTest.java
  ===================================================================
  RCS file: 
/home/projects/openejb/scm/openejb/modules/core/src/test/org/openejb/slsb/StatelessContextTest.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- StatelessContextTest.java 1 Apr 2004 22:36:53 -0000       1.3
  +++ StatelessContextTest.java 6 Apr 2004 00:43:07 -0000       1.4
  @@ -49,6 +49,7 @@
   
   import java.net.URI;
   import java.rmi.RemoteException;
  +
   import javax.ejb.EJBHome;
   import javax.ejb.EJBLocalHome;
   import javax.ejb.EJBLocalObject;
  @@ -60,15 +61,10 @@
   import javax.naming.NamingException;
   import javax.transaction.UserTransaction;
   
  -import 
org.apache.geronimo.connector.outbound.connectiontracking.ConnectionTrackingCoordinator;
  -import org.apache.geronimo.kernel.jmx.JMXUtil;
  -
   import junit.framework.TestCase;
  -import org.openejb.MockTransactionManager;
  -import org.openejb.TransactionDemarcation;
  +import org.apache.geronimo.kernel.jmx.JMXUtil;
   import org.openejb.EJBContainerConfiguration;
   import org.openejb.deployment.TransactionPolicyHelper;
  -import org.openejb.transaction.EJBUserTransaction;
   
   /**
    *
  
  
  

Reply via email to