User: fleury
Date: 00/08/28 10:51:37
Modified: src/main/org/jboss/tm TxManager.java
Log:
Actually now that we dis-associate for sure, we can leave the method calls public,
it might enable a fast access to the Tx management
Revision Changes Path
1.12 +8 -8 jboss/src/main/org/jboss/tm/TxManager.java
Index: TxManager.java
===================================================================
RCS file: /products/cvs/ejboss/jboss/src/main/org/jboss/tm/TxManager.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- TxManager.java 2000/08/28 17:46:22 1.11
+++ TxManager.java 2000/08/28 17:51:37 1.12
@@ -31,7 +31,7 @@
* @see <related>
* @author Rickard �berg ([EMAIL PROTECTED])
* @author <a href="mailto:[EMAIL PROTECTED]">Marc Fleury</a>
- * @version $Revision: 1.11 $
+ * @version $Revision: 1.12 $
*/
public class TxManager
implements TransactionManager
@@ -200,7 +200,7 @@
// Public --------------------------------------------------------
- protected void commit(Transaction tx)
+ public void commit(Transaction tx)
throws RollbackException,
HeuristicMixedException,
HeuristicRollbackException,
@@ -220,20 +220,20 @@
}
}
- protected boolean delistResource(Transaction tx, XAResource xaRes, int flag)
+ public boolean delistResource(Transaction tx, XAResource xaRes, int flag)
{
// Look up the txCapsule and delegate
return ((TxCapsule) txCapsules.get(tx)).delistResource(xaRes, flag);
}
- protected boolean enlistResource(Transaction tx, XAResource xaRes)
+ public boolean enlistResource(Transaction tx, XAResource xaRes)
throws RollbackException
{
// Look up the txCapsule and delegate
return ((TxCapsule) txCapsules.get(tx)).enlistResource(xaRes);
}
- protected int getStatus(Transaction tx)
+ public int getStatus(Transaction tx)
throws SystemException
{
// Look up the txCapsule and delegate
@@ -241,13 +241,13 @@
return txCap == null ? Status.STATUS_NO_TRANSACTION : txCap.getStatus();
}
- protected void registerSynchronization(Transaction tx, Synchronization s)
+ public void registerSynchronization(Transaction tx, Synchronization s)
{
// Look up the txCapsule and delegate
((TxCapsule) txCapsules.get(tx)).registerSynchronization(s);
}
- protected void rollback(Transaction tx)
+ public void rollback(Transaction tx)
throws java.lang.IllegalStateException,
java.lang.SecurityException,
SystemException
@@ -264,7 +264,7 @@
}
}
- protected void setRollbackOnly(Transaction tx)
+ public void setRollbackOnly(Transaction tx)
throws java.lang.IllegalStateException,
SystemException
{