geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: incubator-geronimo/modules/core/src/java/org/apache/geronimo/transaction/manager UserTransactionImpl.java
Date Fri, 23 Jan 2004 06:04:03 GMT
dain        2004/01/22 22:04:03

  Modified:    modules/core/src/java/org/apache/geronimo/transaction/manager
                        UserTransactionImpl.java
  Log:
  Commented out dependency on connector class
  
  Revision  Changes    Path
  1.4       +13 -13    incubator-geronimo/modules/core/src/java/org/apache/geronimo/transaction/manager/UserTransactionImpl.java
  
  Index: UserTransactionImpl.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/core/src/java/org/apache/geronimo/transaction/manager/UserTransactionImpl.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- UserTransactionImpl.java	16 Jan 2004 23:38:50 -0000	1.3
  +++ UserTransactionImpl.java	23 Jan 2004 06:04:03 -0000	1.4
  @@ -65,7 +65,7 @@
   import javax.transaction.TransactionManager;
   import javax.transaction.UserTransaction;
   
  -import org.apache.geronimo.connector.outbound.connectiontracking.TrackedConnectionAssociator;
  +//import org.apache.geronimo.connector.outbound.connectiontracking.TrackedConnectionAssociator;
   
   /**
    * TODO this needs to migrate to using TransactionContext.
  @@ -76,7 +76,7 @@
    */
   public class UserTransactionImpl implements UserTransaction, Serializable{
       private transient TransactionManager transactionManager;
  -    private transient TrackedConnectionAssociator trackedConnectionAssociator;
  +//    private transient TrackedConnectionAssociator trackedConnectionAssociator;
   
       public UserTransactionImpl() {
       }
  @@ -89,13 +89,13 @@
           this.transactionManager = transactionManager;
       }
   
  -    public TrackedConnectionAssociator getTrackedConnectionAssociator() {
  -        return trackedConnectionAssociator;
  -    }
  -
  -    public void setTrackedConnectionAssociator(TrackedConnectionAssociator trackedConnectionAssociator)
{
  -        this.trackedConnectionAssociator = trackedConnectionAssociator;
  -    }
  +//    public TrackedConnectionAssociator getTrackedConnectionAssociator() {
  +//        return trackedConnectionAssociator;
  +//    }
  +
  +//    public void setTrackedConnectionAssociator(TrackedConnectionAssociator trackedConnectionAssociator)
{
  +//        this.trackedConnectionAssociator = trackedConnectionAssociator;
  +//    }
   
       public void begin() throws NotSupportedException, SystemException {
           checkState();
  @@ -128,9 +128,9 @@
       }
   
       private void checkState() {
  -        if (transactionManager == null || trackedConnectionAssociator == null) {
  -            throw new IllegalStateException("UserTransaction is disabled");
  -        }
  +//        if (transactionManager == null || trackedConnectionAssociator == null) {
  +//            throw new IllegalStateException("UserTransaction is disabled");
  +//        }
       }
   
   }
  
  
  

Mime
View raw message